Files
6krrt/tests/fixtures/route_decision_no_header.json
adlee-was-taken 9352adc4a7 feat: escalation_reason column on route_decisions
Add escalation_reason TEXT to route_decisions table so bump_reason
from tool-error tier bumps is persisted. Wire it through
persist_route_decision, events.publish_decision, and the chat
completions endpoint. Add round-trip and bump tests. Update the
no-header snapshot fixture. Fix prefix_probe state leakage by
clearing the store before and after the conversation_wiring module.
2026-10-18 01:59:04 -04:00

39 lines
1.0 KiB
JSON

{
"agent": null,
"candidates_considered": 2,
"classification_source": "classifier",
"classifier_confidence": null,
"classifier_coverage": null,
"classifier_reject": null,
"confidence": 0.9,
"escalation_reason": null,
"est_cost_usd": 0.00016,
"est_proficiency": 0.5,
"exploration": 0,
"flex_forced": 0,
"flex_preference": "auto",
"flex_swapped": 0,
"images": 0,
"json_mode": 0,
"kind": "chat",
"latency_tolerance": "interactive",
"parent_key": null,
"pinch_final_tokens": 5,
"pinch_original_tokens": 5,
"prefix_divergence_index": null,
"prefix_prev_message_count": null,
"prefix_tokens_after_divergence": null,
"profile": "default",
"rejected_reason": null,
"request_id": "chatcmpl-test",
"required_context_tokens": 100,
"runner_up_models": "[{\"model_id\": \"dear-model\", \"provider\": \"neuralwatt\"}]",
"selected_model": "cheap-model",
"selected_provider": "neuralwatt",
"session_key": "be41d1308beb018d",
"streamed": 0,
"task_category": "coding_general",
"task_tier": 2,
"tools": 0
}