fix: add missing telemetry fields to CLAUDE.md §4.8

Add parent_call_id, provider, messages, response per ARCHITECTURE.md §4

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-07-06 11:34:55 -04:00
parent 0fb1a436c4
commit afdc341642
+4
View File
@@ -247,8 +247,12 @@ MODE=mock N_SAMPLES=10 bash scripts/<experiment>.sh # smoke test
| 必录字段 | 类型 | 说明 |
|----------|------|------|
| `call_id` | str | UUID,本次调用唯一标识 |
| `parent_call_id` | str? | 父调用 IDagent step → LLM call 链路) |
| `session_id` | str | epoch/step/question 关联 ID |
| `model_name` | str | 使用的模型名 |
| `provider` | str | API 端点标识 |
| `messages` | str (JSON) | 原始输入 |
| `response` | str | 原始输出 |
| `prompt_tokens` / `completion_tokens` | int | token 用量 |
| `latency_ms` | int | 延迟毫秒 |
| `cache_hit` | bool | 是否命中 Redis 缓存 |