Fix: Handle both dict and Pydantic Tool models in templates.py
- Fixed AttributeError where Tool.get() was called on Pydantic model - Added isinstance() checks to handle both dict and Pydantic Tool formats - This fixes the error when using --force-reasoning with tools
Showing
Please
register
or
sign in
to comment