Skip to content

[feat] Extend prompt templates#4171

Open
jp-agenta wants to merge 5 commits intomainfrom
feat/extend-prompt-templates
Open

[feat] Extend prompt templates#4171
jp-agenta wants to merge 5 commits intomainfrom
feat/extend-prompt-templates

Conversation

@jp-agenta
Copy link
Copy Markdown
Member

This PR extends prompt templates to support extra optional runtime behavior around LLM execution without changing the existing llm_config contract. It adds root-level fallback_llm_configs, retry_policy, and fallback_policy. Fallback configs reuse the same LLM config shape as the primary model, retry applies per attempted config, and fallback only happens after retries are exhausted according to the selected fallback policy.

It also expands the reusable LLM config shape with chat_template_kwargs for provider-specific model parameters, including playground support requested in #3996.

@vercel
Copy link
Copy Markdown

vercel bot commented Apr 17, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
agenta-documentation Ready Ready Preview, Comment Apr 17, 2026 4:20pm

Request Review

@jp-agenta jp-agenta changed the title [feat] Extend prompt templats [feat] Extend prompt templates Apr 17, 2026
@jp-agenta jp-agenta marked this pull request as ready for review April 17, 2026 15:14
@dosubot dosubot bot added size:XXL This PR changes 1000+ lines, ignoring generated files. enhancement New feature or request labels Apr 17, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 17, 2026

Railway Preview Environment

Preview URL https://gateway-production-2c1d.up.railway.app/w
Project agenta-oss-pr-4171
Image tag pr-4171-cabae3b
Status Deployed
Railway logs Open logs
Workflow logs View workflow run
Updated at 2026-04-17T16:28:32.685Z

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request size:XXL This PR changes 1000+ lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant