Add tool_calls field and make content optional in Message model
- Add optional tool_calls field to Message model - Make content field optional with default None - Allows assistant messages with tool_calls instead of content - Fixes 422 validation errors for tool call messages - Supports OpenAI message format with function calls
Showing
Please
register
or
sign in
to comment