mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
c414fbad23
Refresh d6 fixtures across the rollout cohort: ag2, built-in-agent,
claude-sdk-{python,typescript}, crewai-crews, google-adk, langgraph-fastapi,
langgraph-typescript, langroid, llamaindex, mastra, ms-agent-{dotnet,python},
pydantic-ai, strands. Companion d4/{langgraph-typescript,mastra,ms-agent-dotnet}
chat.json refreshes. Add the missing ms-agent-python/gen-ui-custom.json
to bring the integration up to the standard pill set.
Also narrow aimock/shared/common.json's generic 'hello' fixture to
'hello world' so it no longer shadows D6 pills whose prompts contain
'hello' as a substring (e.g. langgraph-python headless-simple sends
'Say hello in one short sentence.'). 'hello world' is unused by any
current demo pill, so the fixture remains a manual-typing fallback
without poisoning fixture matching.
This is a mid-rollout snapshot — fixture coverage is uneven across
integrations and rides alongside the conveyance shims landed earlier
in this branch.
41 lines
1.8 KiB
JSON
41 lines
1.8 KiB
JSON
{
|
|
"_meta": {
|
|
"description": "D6 fixtures for ag2 / readonly-state",
|
|
"sourceFile": "d5-all.json",
|
|
"created": "2026-05-21"
|
|
},
|
|
"fixtures": [
|
|
{
|
|
"_comment": "readonly-state-agent-context — Who am I pill. Matches the verbatim pill prompt. systemMessage gating on 'Atai' was removed because @langchain/openai >=1.4 sends SystemMessage as role:'developer' for gpt-5 models, and aimock's getSystemText only checks role:'system'. The userMessage alone is deterministic from the pill.",
|
|
"match": {
|
|
"userMessage": "What do you know about me from my context?",
|
|
"turnIndex": 0,
|
|
"context": "ag2"
|
|
},
|
|
"response": {
|
|
"content": "I see you're Atai, and you're in the America/Los_Angeles timezone. Recently, you viewed the pricing page and watched the product demo video. How can I assist you today?"
|
|
}
|
|
},
|
|
{
|
|
"_comment": "readonly-state-agent-context — Suggest next steps pill. Matches the verbatim pill prompt. systemMessage gating removed (see Who am I comment above).",
|
|
"match": {
|
|
"userMessage": "Based on my recent activity, what should I try next?",
|
|
"turnIndex": 0,
|
|
"context": "ag2"
|
|
},
|
|
"response": {
|
|
"content": "Since you recently viewed the pricing page and watched the product demo video, it might be a good idea to explore user testimonials or case studies to see how others have benefited from the Pro Plan. You could also start the 14-day free trial to experience the features firsthand."
|
|
}
|
|
},
|
|
{
|
|
"match": {
|
|
"userMessage": "What do you know about me from my context",
|
|
"turnIndex": 0,
|
|
"context": "ag2"
|
|
},
|
|
"response": {
|
|
"content": "Based on your context I can see your name and recent activity. I'll keep responses calibrated to your timezone."
|
|
}
|
|
}
|
|
]
|
|
} |