mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 16:01:01 +00:00
fix(deepseek): backfill v4 assistant reasoning replay
This commit is contained in:
@@ -18,7 +18,7 @@ function ensureVeniceDeepSeekV4Replay(payload: Record<string, unknown>): void {
|
||||
continue;
|
||||
}
|
||||
const record = message as Record<string, unknown>;
|
||||
if (record.role === "assistant" && Array.isArray(record.tool_calls)) {
|
||||
if (record.role === "assistant") {
|
||||
record.reasoning_content ??= "";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user