Files
copilotkit__copilotkit/showcase/aimock/d6/ag2/headless-simple.json
Jordan Ritter c414fbad23 test(showcase): D6 per-integration aimock fixtures + shared narrowing
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.
2026-05-29 16:16:12 -07:00

42 lines
1.5 KiB
JSON

{
"_meta": {
"description": "D6 fixtures for ag2 / headless-simple",
"sourceFile": "d5-all.json",
"created": "2026-05-21"
},
"fixtures": [
{
"_comment": "headless-simple pill 1: locks the deterministic greeting leading phrase. The reply is intentionally NON-boilerplate (i.e. NOT the showcase-assistant catch-all 'I can help you with weather lookups...') so the headless-simple spec's HELLO_LEADING assertion fails when fixture priority misroutes this prompt to the catch-all.",
"match": {
"userMessage": "Say hello in one short sentence",
"turnIndex": 0,
"context": "ag2"
},
"response": {
"content": "Hi! In one short sentence: I'm a CopilotKit demo agent here to help you try features."
}
},
{
"_comment": "headless-simple pill 2: locks the deterministic joke.",
"match": {
"userMessage": "Tell me a one-line joke",
"turnIndex": 0,
"context": "ag2"
},
"response": {
"content": "Why did the scarecrow win an award? Because he was outstanding in his field!"
}
},
{
"_comment": "headless-simple pill 3: locks the deterministic fun fact.",
"match": {
"userMessage": "Give me a fun fact",
"turnIndex": 0,
"context": "ag2"
},
"response": {
"content": "A fun fact: Honey never spoils! Archaeologists have found pots of honey in ancient Egyptian tombs that are over 3,000 years old and still perfectly edible."
}
}
]
}