mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
abe69c3d56
Adds per-integration D6 fixtures for ms-agent-python and ms-agent-dotnet.
38 lines
1.8 KiB
JSON
38 lines
1.8 KiB
JSON
{
|
|
"_meta": {
|
|
"description": "D6 fixtures for ms-agent-python / gen-ui-open-advanced",
|
|
"sourceFile": "harness/fixtures/d5/gen-ui-open.json",
|
|
"created": "2026-05-22"
|
|
},
|
|
"fixtures": [
|
|
{
|
|
"_comment": "gen-ui-open-advanced — follow-up after generateSandboxedUi tool result.",
|
|
"match": {
|
|
"userMessage": "Inline expression evaluator",
|
|
"toolCallId": "call_d5_open_gen_ui_inline_001",
|
|
"context": "ms-agent-python"
|
|
},
|
|
"response": {
|
|
"content": "Generated. The sandboxed expression evaluator is rendered above."
|
|
}
|
|
},
|
|
{
|
|
"_comment": "gen-ui-open-advanced — first leg: generateSandboxedUi tool call for inline expression evaluator.",
|
|
"match": {
|
|
"userMessage": "Inline expression evaluator",
|
|
"turnIndex": 0,
|
|
"context": "ms-agent-python"
|
|
},
|
|
"response": {
|
|
"toolCalls": [
|
|
{
|
|
"id": "call_d5_open_gen_ui_inline_001",
|
|
"name": "generateSandboxedUi",
|
|
"arguments": "{\"initialHeight\":320,\"placeholderMessages\":[\"Composing expression evaluator…\"],\"css\":\"body{margin:0;font-family:system-ui;background:#0f172a;color:#e2e8f0}.card{padding:16px;background:#1e293b;border-radius:12px;margin:16px}input{width:100%;padding:8px;background:#0f172a;border:1px solid #334155;color:#e2e8f0;border-radius:6px;box-sizing:border-box}button{margin-top:8px;padding:8px 16px;background:#6366f1;border:0;color:#fff;border-radius:6px;cursor:pointer}.out{margin-top:8px;font-size:12px;color:#94a3b8}\",\"html\":\"<div class=\\\"card\\\" data-testid=\\\"ogui-inline-eval\\\"><h2>Inline expression evaluator</h2><input id=\\\"in\\\" placeholder=\\\"e.g. 2 + 2\\\"/><button id=\\\"go\\\">Evaluate</button><div class=\\\"out\\\" id=\\\"out\\\">awaiting input…</div></div>\"}"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|