Files
copilotkit__copilotkit/showcase/aimock/d6/ms-agent-python/gen-ui-open-advanced.json
Jordan Ritter abe69c3d56 feat(showcase-aimock): D6 fixtures for Microsoft Agent Framework integrations
Adds per-integration D6 fixtures for ms-agent-python and ms-agent-dotnet.
2026-05-26 14:02:17 -07:00

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>\"}"
}
]
}
}
]
}