Files
copilotkit__copilotkit/showcase/aimock/d6/ag2/hitl-in-chat.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

115 lines
2.9 KiB
JSON

{
"_meta": {
"description": "D6 fixtures for ag2 / hitl-in-chat",
"sourceFile": "d5-all.json",
"created": "2026-05-21"
},
"fixtures": [
{
"match": {
"userMessage": "Book a 30-minute onboarding call for Alice",
"hasToolResult": false,
"context": "ag2"
},
"response": {
"toolCalls": [
{
"id": "call_d5_book_call_001",
"name": "book_call",
"arguments": "{\"topic\":\"Onboarding call\",\"attendee\":\"Alice\"}"
}
]
}
},
{
"match": {
"userMessage": "Book a 30-minute onboarding call for Alice",
"hasToolResult": true,
"context": "ag2"
},
"response": {
"content": "Booked Alice's onboarding call for the time you selected — calendar invite is on its way."
}
},
{
"match": {
"userMessage": "intro call with the sales team",
"toolCallId": "call_d5_schedule_sales_001",
"context": "ag2"
},
"response": {
"content": "Booked: Sales intro call confirmed for the slot you picked."
}
},
{
"match": {
"userMessage": "intro call with the sales team",
"toolName": "schedule_meeting",
"hasToolResult": false,
"context": "ag2"
},
"response": {
"toolCalls": [
{
"name": "schedule_meeting",
"arguments": {
"topic": "Sales intro call",
"attendee": "Sales team",
"slots": [
{
"label": "Mon 10:00 AM",
"iso": "2026-05-11T10:00:00Z"
},
{
"label": "Tue 2:00 PM",
"iso": "2026-05-12T14:00:00Z"
}
]
},
"id": "call_d5_schedule_sales_001"
}
]
}
},
{
"match": {
"userMessage": "1:1 with Alice",
"toolCallId": "call_d5_schedule_alice_001",
"context": "ag2"
},
"response": {
"content": "Scheduled: 1:1 with Alice locked in for the slot you picked."
}
},
{
"match": {
"userMessage": "1:1 with Alice",
"toolName": "schedule_meeting",
"hasToolResult": false,
"context": "ag2"
},
"response": {
"toolCalls": [
{
"name": "schedule_meeting",
"arguments": {
"topic": "1:1 with Alice — Q2 goals",
"attendee": "Alice",
"slots": [
{
"label": "Wed 11:00 AM",
"iso": "2026-05-13T11:00:00Z"
},
{
"label": "Thu 3:30 PM",
"iso": "2026-05-14T15:30:00Z"
}
]
},
"id": "call_d5_schedule_alice_001"
}
]
}
}
]
}