From afdc341642b56deae7c440020749047c611654d5 Mon Sep 17 00:00:00 2001 From: iomgaa Date: Mon, 6 Jul 2026 11:34:55 -0400 Subject: [PATCH] =?UTF-8?q?fix:=20add=20missing=20telemetry=20fields=20to?= =?UTF-8?q?=20CLAUDE.md=20=C2=A74.8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add parent_call_id, provider, messages, response per ARCHITECTURE.md §4 Co-Authored-By: Claude Opus 4.6 (1M context) --- CLAUDE.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CLAUDE.md b/CLAUDE.md index 4defffb..828b73a 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -247,8 +247,12 @@ MODE=mock N_SAMPLES=10 bash scripts/.sh # smoke test | 必录字段 | 类型 | 说明 | |----------|------|------| | `call_id` | str | UUID,本次调用唯一标识 | +| `parent_call_id` | str? | 父调用 ID(agent 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 缓存 |