Skip to content

Commit 7861344

Browse files
committed
Docs update
1 parent ec45050 commit 7861344

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/builtin-tools.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ The [`MCPServerTool`][pydantic_ai.builtin_tools.MCPServerTool] allows your agent
426426
so that the agent can offload MCP calls and parsing to the provider.
427427

428428
> **Note:** This tool is useful for models that support passing MCP servers as tools in parameters, so the model handles calls to remote servers by itself.
429-
> However, a vast majority of models do not support this feature, in which case you should refer to an [alternative solution](mcp/overview.md).
429+
> However, a vast majority of models do not support this feature, in which case you should refer to an [alternative solution](mcp/client.md).
430430
431431
### Provider Support
432432

pydantic_ai_slim/pydantic_ai/models/openai.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1242,7 +1242,7 @@ def _get_builtin_tools(self, model_request_parameters: ModelRequestParameters) -
12421242
require_approval='never',
12431243
headers=tool.headers,
12441244
)
1245-
if tool.url: # pragma: no cover
1245+
if tool.url:
12461246
mcp_tool['server_url'] = tool.url
12471247
elif tool.connector_id: # pragma: no cover
12481248
mcp_tool['connector_id'] = tool.connector_id
@@ -1477,7 +1477,7 @@ async def _map_messages( # noqa: C901
14771477
and (status := content.get('status'))
14781478
):
14791479
web_search_item['status'] = status
1480-
elif item.tool_name == ImageGenerationTool.kind: # pragma: no cover
1480+
elif item.tool_name == ImageGenerationTool.kind:
14811481
# Image generation result does not need to be sent back, just the `id` off of `BuiltinToolCallPart`.
14821482
pass
14831483
elif item.tool_name == MCPServerTool.list_tools_kind: # pragma: no cover

0 commit comments

Comments
 (0)