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/08/14

インストール

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

ドキュメント

README 全文を読む ↗

⚙️ 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.