mirror of
https://github.com/Xe138/AI-Trader.git
synced 2026-04-01 17:17:24 -04:00
Added global monkey-patch of langchain_core's parse_tool_call to log the type of 'args' it returns. This will definitively show whether: 1. parse_tool_call is returning string args (bug in langchain_core) 2. Something else is modifying the result after parse_tool_call returns 3. AIMessage construction is getting tool_calls from a different source This is the critical diagnostic to find the root cause.