fix: incomplete 追问写入 intent_session 而非 conversation_history
incomplete 路径是意图分类的中间状态,追问交换应追加到 intent_session (作为分类上下文),不应污染 conversation_history(真正的对话历史)。 _classify_and_rewrite 同时修复:拼入 intent_session 中非 system 消息, 写回时保留 incomplete 追问对、丢弃旧的 user_current。 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Showing
1 changed file
with
28 additions
and
8 deletions
-
Please register or sign in to post a comment