feat(trace): add run-scoped trace reads
This commit is contained in:
@@ -72,6 +72,8 @@ Level: L4 database/API contract migration with compatibility behavior.
|
||||
- New query parameter: `GET /api/diagnosis/{sessionId}/trace?runId=...`.
|
||||
- New API: `GET /api/chat/session/{sessionId}/runs`.
|
||||
- Feedback request gains optional/preferred `runId`.
|
||||
- Feedback response returns bound `runId` and `fallbackToLatestRun`.
|
||||
- `/api/ai_ops` keeps SSE event name `message` and emits a `type=metadata` JSON message containing `sessionId` and `runId` before content.
|
||||
- Database contract changes include new tables and new `run_id` columns.
|
||||
- Old callers that only pass `sessionId` remain compatible by binding to latest run, but this fallback must be observable.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user