Files
ss-tools/specs/035-agent-chat-context/fixtures/api/agentchat_handler_dashboard_context.json

21 lines
965 B
JSON

{
"fixture_id": "FX_AgentChat.Handler.DashboardContext",
"verifies": "AgentChat.LangGraph.Handler",
"edge": "dashboard_context",
"input": {
"message": {"text": "Расскажи про этот дашборд"},
"history": [],
"conversation_id": "test-conv-002",
"uicontext_str": "{\"objectType\":\"dashboard\",\"objectId\":\"42\",\"objectName\":\"Отчёт по энергопотреблению\",\"envId\":\"ss-dev\",\"route\":\"/dashboards/42\",\"contextVersion\":1}",
"user_id": "user-001",
"user_jwt": "valid-jwt",
"env_id": "ss-dev"
},
"expected": {
"tool_count": 8,
"tool_names": ["search_dashboards", "get_health_summary", "deploy_dashboard", "run_llm_documentation", "execute_migration", "create_branch", "commit_changes", "show_capabilities"],
"uicontext_injected": true,
"runtime_context_contains": ["[USER CONTEXT]", "Отчёт по энергопотреблению", "dashboards/42"]
}
}