mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
1e66a5f8d2
Move monolithic d5-all.json + feature-parity.json + smoke.json into per-integration directories under d4/<slug>/, d6/<slug>/, and shared/. Every fixture file is now context-scoped to enable server-side aimock routing via match.context. Migrated 12 HITL fixtures from main's d5-all.json additions into shared/_migrated-from-d5-all-hitl.json for follow-up distribution into per-integration files.
30 lines
1.4 KiB
JSON
30 lines
1.4 KiB
JSON
{
|
|
"_meta": {
|
|
"description": "D6 fixtures for langgraph-python / shared-state-read",
|
|
"sourceFile": "d5-all.json",
|
|
"created": "2026-05-21"
|
|
},
|
|
"fixtures": [
|
|
{
|
|
"_comment": "D5 fixture for /demos/shared-state-read (recipe-editor) turn 1. Substring 'Italian pasta recipe' is unique. Text-only — agent has no tools.",
|
|
"match": {
|
|
"userMessage": "Italian pasta recipe",
|
|
"turnIndex": 0,
|
|
"context": "langgraph-python"
|
|
},
|
|
"response": {
|
|
"content": "Great choice — looking at your current recipe state, I'd build an Italian pasta around the existing ingredients: a quick spaghetti aglio e olio, finishing with parmesan and a squeeze of lemon. Want me to suggest substitutions or adjust the cooking time?"
|
|
}
|
|
},
|
|
{
|
|
"_comment": "D5 fixture for /demos/shared-state-read (recipe-editor) turn 2. Reply mentions recipe-context tokens so the probe's soft assertion lands.",
|
|
"match": {
|
|
"userMessage": "healthier with more vegetables",
|
|
"context": "langgraph-python"
|
|
},
|
|
"response": {
|
|
"content": "Here are a few healthier ingredient additions for the recipe: roasted bell peppers, baby spinach folded in at the end, and cherry tomatoes for brightness. The Italian flavor profile holds up well, and the vegetable swap keeps the dish lighter without losing the comfort of pasta."
|
|
}
|
|
}
|
|
]
|
|
} |