fix(langfuse): 루트 span 에도 observation.input/output — 트레이스 화면 입출력 표시용
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Fable 5.1
parent
55f2e8fb60
commit
678ea2482f
Generated
+1
-1
@@ -485,7 +485,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "codeassist-tauri"
|
||||
version = "0.1.2"
|
||||
version = "0.1.3"
|
||||
dependencies = [
|
||||
"base64 0.22.1",
|
||||
"png 0.17.16",
|
||||
|
||||
@@ -87,6 +87,8 @@ def trace(trace_id: str, name: str, *, userId: str = "", sessionId: str = "", in
|
||||
"langfuse.session.id": sessionId,
|
||||
"langfuse.trace.input": input,
|
||||
"langfuse.trace.output": output,
|
||||
"langfuse.observation.input": input, # 루트 span 본문에도 — 트레이스 화면이 루트 span 의 입출력을 보여줌(실측)
|
||||
"langfuse.observation.output": output,
|
||||
"langfuse.trace.tags": tags,
|
||||
**{f"langfuse.trace.metadata.{k}": v for k, v in (metadata or {}).items()},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user