Commit Graph

21 Commits

Author SHA1 Message Date
agent 8a9c1eaf82 perf(dingtalk): rewrite answer images concurrently and make the rewrite budget configurable
- outboundimage: fetch and publish up to 4 images in parallel, dedupe in document order, log per-image outcome plus a rewrite summary
- dingtalk handler: OutboundRewriteTimeout applies to the image rewrite stage only, falling back to finalDeliveryTimeout
- cmd/dobotai: DOBOTAI_OUTBOUND_IMAGE_REWRITE_TIMEOUT (default 60s, invalid values fall back)
2026-09-18 10:57:32 +08:00
姚章浩 dfc7c8dba9 feat(dingtalk): deliver card images through DingTalk media ids
AI card bodies render only DingTalk-hosted media, so published image URLs are
rewritten into media ids inside card content (streaming frames never block,
final frame waits briefly), while the markdown fallback keeps external URLs.
2026-09-17 18:14:03 +08:00
姚章浩 15f2a11162 fix(dingtalk): 推理模式卡片隐藏推理并只留正文
- reasoningmode: 新增正文边界识别(结构行 + 前置空行)与流式 PartialFeed:
  分步叙述按行拼接显示,正文开始时只输出正文,卡片更新即刷新清掉推理区
- dingtalk: 事件流与流式回调统一改走 PartialFeed
- qa: 推理执行的最终答案在入库/投递前去掉步骤叙述(快速模式行为不变)

语料回归:生产 118 条内建智能推理答案中 106 条识别出正文边界(被隐藏的
均为 59-164 字过渡句),12 条无推理的问候类答案保持原样;go vet 与
go test ./... 全绿。
2026-09-17 10:58:59 +08:00
姚章浩 b49cb5eaf9 feat(dingtalk): normalize wide tables into grouped lists on final card 2026-09-15 16:09:43 +08:00
姚章浩 bfa1b1b25f feat(dingtalk): add reasoning mode and support evidence 2026-09-10 16:24:56 +08:00
姚章浩 0798a2dac7 feat(dingtalk): stabilize multimodal answer workflows 2026-09-09 13:57:43 +08:00
姚章浩 2d9490f424 feat: apply per-user answer language 2026-08-13 12:50:07 +08:00
姚章浩 462ee1f3ff feat: add admin settings control flow 2026-08-13 12:45:08 +08:00
姚章浩 9363d10e44 feat: publish outbound answer images to private OSS 2026-08-13 12:34:39 +08:00
姚章浩 0a3f62618e feat: sync DingTalk QA to Notable question table 2026-07-23 14:38:50 +08:00
姚章浩 5e0694835a feat: add DingTalk directory-backed session titles 2026-07-23 10:55:25 +08:00
姚章浩 98295ee79a feat: track DingTalk delivery outcomes 2026-07-21 12:53:40 +08:00
姚章浩 d857853ea3 feat: add message audit foundation 2026-07-21 10:42:28 +08:00
姚章浩 dd2154a403 fix: give card fallback a fresh deadline 2026-07-21 00:08:01 +08:00
姚章浩 2af1282335 fix: label retrieval result count accurately 2026-07-20 23:37:58 +08:00
姚章浩 cda192b8ab feat: show async DingTalk card progress 2026-07-20 23:22:07 +08:00
姚章浩 2e94f94eb5 feat: stream answers into DingTalk AI cards 2026-07-20 22:51:27 +08:00
姚章浩 c4a942a1ac feat: deliver final answers as DingTalk AI cards 2026-07-20 21:28:21 +08:00
姚章浩 6bfa16e5f9 feat: support DingTalk rich text images 2026-07-20 18:58:29 +08:00
姚章浩 ea54b229ee feat: add DingTalk picture agent QA 2026-07-20 18:21:47 +08:00
姚章浩 bb87ae3658 feat: add DingTalk Stream text ingress 2026-07-20 13:01:59 +08:00