Files
eaiadminandClaude Code c1af86c934 feat(asr): 本地语音转写接入为一级路由 + 并行工作流合并提交
按用户指示做**一包提交**,不按工作流拆分。本提交刻意混合了多条并行线:

  · 本地 ASR 接管:audio 成为与 chat/embed/image/video 同等的路由类别
    (IsLocalRoute 单一判据、audio 健康探测、default_audio_route、
    auto 占位、GET /api/ai/routes/audio、回退云端时界面明示「音频已出网」)
  · LLM 调用层:ctx 贯穿、ToolCall/ToolSchema、EmptyCompletionError /
    TransientUpstreamError(按错误类型而非文案判重试)
  · 编排 Agent:general_assistant orchestrate/persistence/spec_driver
  · 联网搜索:internal/search(playwright)
  · 网盘:backend + 前端
  · 前端 UI:导航/路由/工作台若干页
  · 交付文档:DELIVERY.md / AR04 / 部署文档的「无 Python」表述据实改写,
    新增 eai_agentplatform-asr.service、asr.env、clonezilla-cleanup 清 ~/asr-poc

不分拆的原因:dev 早期,粒度不该打断工作节奏。且实测过——这些改动
**在编译上是同一个单元**(llm.go 的 ctx 签名变更牵动 12 个调用点,
chat_message.go 的 ctx 改动又与编排重写同处一个 hunk),拆出来的中间态编不过。
详见 TOP_CODING_RULES.md G14.5 与 bugs_and_errors.md E09。

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-09-26 22:21:39 +08:00

41 lines
657 B
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# ===== 运行数据 =====
data/
debuglog/
*.db
*.log
# ===== IDE =====
.idea/
.vscode/
*.swp
*.swo
.claude/
.dbg/
# ===== Node =====
node_modules/
# ===== 构建产物 =====
dist/
bin/
*.exe
# ===== 大文件/素材(不入 Git) =====
docs/09_Research/工业AI观察员/raw/
# ===== 环境变量 =====
.env
.env.local
# ===== 历史调试记录(不再入 Git) =====
debug-admin-auth-misjudge.md
debug-knowledge-chat-401.md
# ===== 操作系统 =====
.DS_Store
Thumbs.db
.ollama_models/
# ===== 外部下载物(模型权重 / wheelhouse,见 G19)=====
# 本机资产库,不是源码;体积以 GB 计,禁止提交
external_download/