修复: DeepSeek reasoning_content 全链路透传(跨6 crate补字段+映射+agentic loop累积回传)

This commit is contained in:
2026-06-17 18:08:04 +08:00
parent 1cd7652a34
commit 74003bc04f
11 changed files with 251 additions and 20 deletions

View File

@@ -283,6 +283,7 @@ impl Node for AiNode {
stream: false,
tools: None,
tool_choice: None,
reasoning_content: None,
};
tracing::info!(
@@ -513,6 +514,7 @@ impl Node for AiSelfReviewNode {
stream: false,
tools: None,
tool_choice: None,
reasoning_content: None,
};
tracing::info!(
@@ -924,6 +926,7 @@ mod tests {
stream: false,
tools: None,
tool_choice: None,
reasoning_content: None,
};
let response = provider.complete(request).await.expect("GLM 调用失败");
assert!(!response.text.is_empty(), "GLM 返回空文本");