From a0e8559fc30fb894f0a7d0b1fb98db084979fadc Mon Sep 17 00:00:00 2001 From: hlohaus <983577+hlohaus@users.noreply.github.com> Date: Sat, 1 Mar 2025 10:16:39 +0100 Subject: [PATCH] Add ToolSupportProvider --- docs/pydantic_ai.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/pydantic_ai.md b/docs/pydantic_ai.md index 0b2ae6d6..c1fce07a 100644 --- a/docs/pydantic_ai.md +++ b/docs/pydantic_ai.md @@ -152,7 +152,7 @@ class MyModel(BaseModel): # Create the agent for a model with tool support (using one tool) agent = Agent(AIModel( - "PollinationsAI:gpt-4o", # Specify the provider and model + "PollinationsAI:openai", # Specify the provider and model ToolSupportProvider # Use ToolSupportProvider to handle tool-based response formatting ), result_type=MyModel, model_settings=ModelSettings(temperature=0))