fix(tools): enable web_fetch by default

This commit is contained in:
Peter Steinberger
2026-01-15 07:42:01 +00:00
parent f5577ad78e
commit 081e5ef572
5 changed files with 29 additions and 6 deletions

View File

@@ -99,8 +99,7 @@ function resolveSearchEnabled(params: { search?: WebSearchConfig; sandboxed?: bo
function resolveFetchEnabled(params: { fetch?: WebFetchConfig; sandboxed?: boolean }): boolean {
if (typeof params.fetch?.enabled === "boolean") return params.fetch.enabled;
if (params.sandboxed) return true;
return false;
return true;
}
function resolveSearchApiKey(search?: WebSearchConfig): string | undefined {