mirror of
https://github.com/deepseek-ai/deepseek-harness.git
synced 2026-11-10 12:47:44 +08:00
Tool changes previously forced prompt consolidation even when the prepared route could activate new tools through history. Rewriting the first system message, or clearing an earlier appended prompt, reset the declaration series and turned additions into immediate declarations. Only routes without toolUpdate need that tool-triggered consolidation. Capable routes append the full changed prompt and keep existing messages. Explicit series starts, surface replacements, and unsupported prompt routes still consolidate; retained-name definition changes still rebuild tool declarations in Session. Cover both update modes and reset paths, and pin the combined prompt/tool transition through the shipped headless profile with shared schema goldens.