webui : store reasoning_content so it is sent back in subsequent requests (#21249)

This commit is contained in:
Aldehir Rojas
2026-04-07 06:32:44 -05:00
committed by GitHub
parent 71a81f6fcc
commit 482192f12d
4 changed files with 42 additions and 40 deletions
@@ -474,6 +474,7 @@ class AgenticStore {
sessionMessages.push({
role: MessageRole.ASSISTANT,
content: turnContent || undefined,
reasoning_content: turnReasoningContent || undefined,
tool_calls: normalizedCalls
});