mirror of
https://github.com/headroomlabs-ai/headroom.git
synced 2026-08-27 14:17:10 -04:00
LangChain provides tool_call args in different shapes (dict args, str arguments, nested function.arguments) depending on the source. Add _tool_call_args_to_json() helper to normalize all formats to JSON strings. Use .get() instead of [] to handle missing keys gracefully. |
||
|---|---|---|
| .. | ||
| agno | ||
| langchain | ||
| mcp | ||
| __init__.py | ||