Skip to content

Seed a versioned system prompt the demo agent uses - #46

Merged
SushantGautam merged 1 commit into
mainfrom
agents/seed-prompt-v0517
Oct 13, 2026
Merged

SushantGautam merged 1 commit into
mainfrom
agents/seed-prompt-v0517

Conversation

@SushantGautam

Copy link
Copy Markdown
Collaborator

setup_local now seeds a v1 SystemPrompt at /prompts/ and points the demo Support Refund Assistant agent at it, so the agent editor picker auto-preselects it. Idempotent. Also keeps the name-row radio in sync with a server-side latest preselect.

setup_local now creates a v1 SystemPrompt at /prompts/ ("Acme Retail
Support Refund Assistant") and points the demo "Support Refund
Assistant" agent's defaults.system_prompt at that exact version content,
so the agent editor's picker auto-preselects it (name radio + summary
"v1 · latest", textarea pre-filled). Idempotent: re-runs reuse the
existing same-named prompt. Also keeps the name-row radio in sync with
the selected version in both pickers so a server-side latest preselect
shows the name radio checked.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@SushantGautam
SushantGautam merged commit 2d02afa into main Oct 13, 2026
1 check passed
@SushantGautam
SushantGautam deleted the agents/seed-prompt-v0517 branch October 13, 2026 20:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant