[Feat] 模型收不到当前时间,web_search 参数停留在训练截止年份 —— 已修复,分支可 cherry-pick #344
JIANG54864
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
现象:harness 所有出厂组合都没有把当前时间交给模型,导致依赖日期的工具输入(观察到的案例是
web_search查询年份)停留在模型训练截止年份(如 2025)。定位:
@deepseek-ai/dsh-time-context已经实现了持久化的每步时间注入,但dsh-basebundle、全部出厂 agent preset、示例组合都没有挂载它;系统提示词与 runtime-context 快照也不含日期。修复(fork 分支
feat/default-time-context,commit2fac33fca7,作者 JIANG54864):dsh-basebundle 挂载time-context(refreshIntervalMs: 60000)→ web/headless/自定义 profile 的模型在每个进入步骤前收到当前时间,Web 请求自动使用浏览器时区{{timeReadingTimestamp}}/{{timeReadingElapsed}}),会话快照可跨天回放分支:https://github.com/JIANG54864/deepseek-harness/tree/feat/default-time-context
维护者可直接:
验证:time-context / base-bundle / acp-snapshot 单测全绿(normalizer 100% 分支覆盖)、
verify-cordis-config、typecheck、oxlint、Agent Note 与翻译配对等 doc 门禁全过。按 CONTRIBUTING.md 目前不接受外部 PR。若团队愿意开放(呼应 #341 ),我可以立即把分支整理成正式 PR 并按要求补上 Issue 引用。
All reactions