Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/utils/responses.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ def _build_provider_data_headers(
mcp_headers: McpHeaders = {
tool.server_url: tool.headers
for tool in tools
if tool.type == "mcp" and tool.headers
if tool.type == "mcp" and tool.headers and tool.server_url
}

if not mcp_headers:
Expand Down Expand Up @@ -295,7 +295,7 @@ def extract_vector_store_ids_from_tools(
"""Extract vector store IDs from prepared tool configurations.

Parameters:
tools: The prepared tools list (typed InputTool or dict).
tools: The prepared tools list of InputTool objects.

Returns:
List of vector store IDs used in file_search tools, or empty list.
Expand Down
Loading