Skip to content
Open
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
7 changes: 7 additions & 0 deletions internal/protocol/openai/adapter.go
Original file line number Diff line number Diff line change
Expand Up @@ -1869,6 +1869,13 @@ func convertToolWithNamespace(tool Tool, namespace string, disablePatchProxy fun
Description: "Search the web for up-to-date information.",
Extensions: ext,
}}
case "tool_search":
ext["source_type"] = tool.Type
return []format.CoreTool{{
Name: tool.Type,
Description: "Search over deferred tool metadata and expose matching tools for the next model call.",
Extensions: ext,
}}
case "file_search":
ext["source_type"] = tool.Type
ext["max_num_results"] = tool.MaxNumResults
Expand Down