"Vibe-Trading: Your Personal Trading Agent"
Python ai-agentalgorithmic-tradingbacktestingfintechllmmcpmulti-agentpythonquantitative-financetrading
docs: document reasoning_content param in format_assistant_tool_calls
warren618da2df110b12d
diff --git a/agent/src/agent/context.py b/agent/src/agent/context.pyindex d0ae8bf17..042d288a6 100644--- a/agent/src/agent/context.py+++ b/agent/src/agent/context.py@@ -218,7 +218,11 @@ class ContextBuilder:Args:tool_calls: List of tool call objects.- content: Model reasoning/thinking text.+ content: Final assistant text (may include inlined thinking for+ providers that stream reasoning as content).+ reasoning_content: Provider-specific reasoning field (Kimi K2.5,+ DeepSeek reasoner, Qwen thinking). Only attached to the output+ message when not None, so non-thinking providers see no change.Returns:OpenAI-format assistant message.