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
姚章浩
cfe3271fa2
feat(dingtalk): fall back to the public image URL and report image ref shape
...
The loopback fetch now degrades to the public URL ...
2026-09-17 18:20:02 +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
姚章浩
a1a2aabab4
fix(dingtalk): 推理正文边界支持「首行即正文」并补齐卡片结构诊断
...
- BodyStartOffset:内容首个非空行即结构行时正文从头开始,避免收尾裁剪
把标题+首段一起删掉(118 条生产样本中 31 条、最多 526 字)
- 语料回归守卫:隐藏前缀不得含结构行、上限 600 字;单测补 suffix 断言
- 卡片诊断新增 body_ok/body_line/body_prefix_runes/banner_pos/first_heading_line
(定位流式残留推理末句,只看结构不看文本)
2026-09-17 14:01:10 +08:00
姚章浩
cd3f92aaaa
verify: 合并宽屏自适应与推理输出改造(测试服验证用)
2026-09-17 11:03:05 +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
hermes-agent
a096ba5f51
fix(dingtalk): 投放 AI 卡片时开启宽屏自适应布局
...
PC 端卡片宽度过窄:创建卡片(createAndDeliver)请求体从未请求宽屏布局。
修复落在创建卡片的 JSON 载荷层 —— cardData.cardParamMap 的钉钉保留系统
字段 sys_full_json_obj 内传 {"config":{"autoLayout":true}}。config 为
对象类型,钉钉规定复杂类型变量必须走该保留字段;放在 cardParamMap 兄弟
节点会因变量未赋值而静默失效(宽度不变、无报错)。
- 仅影响 PC 宽屏渲染;移动端保持自适应布局不变。
- 未改动富文本组件宽度/padding,也未改动模板内静态内容。
- 流式更新(streaming)请求体不带该字段,避免中途变更布局。
新增回归守卫测试:投放体(direct/group)必须含该字段且 autoLayout=true,
流式更新体必须不含;防止退化为静默失效写法。
验证:gofmt 干净、go vet ok、go test ./... 全绿;
A/B 探针(A 带字段 / B 对照)经 PC 端人工确认 A 卡片变宽。
2026-09-17 09:59:39 +08:00
姚章浩
4e65028d1d
fix(dingtalk): strip leaked internal source handles
2026-09-15 17:08:33 +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
姚章浩
a3defdd1c0
fix: report AI table binding validation failures
2026-08-14 11:11:07 +08:00
姚章浩
b4b68d8b21
fix: accept AI table link cards in settings
2026-08-14 10:46:51 +08:00
姚章浩
6f24743be2
feat: verify and activate support group binding
2026-08-13 18:22:43 +08:00
姚章浩
4dbc20ee74
fix: validate card business responses and trim help
2026-08-13 15:10:09 +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
姚章浩
74c9af9944
fix: acknowledge DingTalk callbacks before async processing
2026-08-13 12:34:16 +08:00
姚章浩
aa0513eb59
feat: add FAQ uncovered workflow
2026-07-27 11:54:34 +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
姚章浩
86593df57c
feat: add durable support notification dispatcher
2026-07-22 12:36:33 +08:00
姚章浩
a6569ee4bf
feat: add DingTalk support group sender
2026-07-22 12:17:04 +08:00
姚章浩
a952232cc9
feat: add exact custom card feedback reasons
2026-07-21 21:21:41 +08:00
姚章浩
b8f572cc84
feat: handle native DingTalk card feedback
2026-07-21 20:41:12 +08:00
姚章浩
9fa2eac6a4
feat: enable per-user DingTalk card debugging
2026-07-21 18:02:14 +08:00
姚章浩
38560c5f41
feat: add DingTalk answer feedback workflow
2026-07-21 15:23:57 +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
姚章浩
9687c97af1
feat: add DingTalk card streaming lifecycle
2026-07-20 22:25:35 +08:00
姚章浩
ade2d076ce
fix: finalize DingTalk AI cards
2026-07-20 21:51:00 +08:00
姚章浩
c4a942a1ac
feat: deliver final answers as DingTalk AI cards
2026-07-20 21:28:21 +08:00
姚章浩
f3936d6564
feat: add DingTalk AI card client
2026-07-20 21:21:45 +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