TtTRz/dsh-langfuse0

dsh-langfuse

dsh-langfuse: Langfuse LLM observability for DeepSeek Harness — one OpenTelemetry trace tree per agent session, with feedback scores and subagent lineage.

AI 분석

核心用途是监控和调试 DSH 的大模型调用链路。适合需要对 Agent 决策过程、Token 消耗及子代理调用进行深度观测与调优的开发者。

패키지
dsh-langfuse
버전
0.1.1
라이선스
MIT
최근 업데이트
2026. 8. 14.

설치

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:TtTRz/dsh-langfuse

⚙️ Configuration

FieldDefaultMeaning
modeDISABLEDFULL exports every session live; FEEDBACK_ONLY exports the canonical session log only when feedback is recorded; DISABLED constructs nothing.
exporter.urlFull OTLP traces endpoint (…/api/public/otel/v1/traces). Required unless DISABLED.
exporter.timeoutMillis10000Per-request timeout.
auth.publicKey / auth.secretKeyLangfuse project key pair (Basic auth). Required unless DISABLED.
processor{}Passed verbatim to BatchSpanProcessor (scheduledDelayMillis, maxQueueSize, …). Retries (bounded backoff, 6 attempts) live in the exporter.
includeGenerationInputfalseExport langfuse.observation.input (system prompt / tool schemas / model / user prompt).
maxAttributeChars16384Per-attribute payload ceiling; longer payloads are truncated with a …[truncated] marker (the canonical log keeps the full bytes).
shutdownTimeoutMillis3000Deadline on the SDK's shutdown drain.
feedbackScoreNameuser-feedbackLangfuse score name for /feedback pushes.