mirror of
https://github.com/xtekky/gpt4free.git
synced 2025-12-06 02:30:41 -08:00
Add ToolSupportProvider
This commit is contained in:
parent
d9f90ff8bb
commit
6ce2875a74
1 changed files with 1 additions and 1 deletions
|
|
@ -129,7 +129,7 @@ This example demonstrates the use of a custom Pydantic model (`MyModel`) to capt
|
|||
|
||||
---
|
||||
|
||||
### Support for Models/Providers without Tool Call Suport
|
||||
### Support for Models/Providers without Tool Call Support
|
||||
|
||||
For models/providers that do not fully support tool calls or lack a direct API for structured output, the `ToolSupportProvider` can be used to bridge the gap. This provider ensures that the agent properly formats the response, even when the model itself doesn't have built-in support for structured outputs. It does so by leveraging a tool list and creating a response format when only one tool is used.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue