mirror of
https://github.com/router-for-me/CLIProxyAPI.git
synced 2026-11-16 22:57:53 +08:00
11 lines
372 B
Go
11 lines
372 B
Go
package handlers
|
|
|
|
// SupportsNativeToolSearchModel reports whether every credential serving the
|
|
// public model can receive Codex tool_search as Anthropic native tool search.
|
|
func (h *BaseAPIHandler) SupportsNativeToolSearchModel(model string) bool {
|
|
if h == nil || h.AuthManager == nil {
|
|
return false
|
|
}
|
|
return h.AuthManager.SupportsNativeToolSearchForModel(model)
|
|
}
|