mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-14 02:31:24 +00:00
fix(build): drop duplicate web fetch helper
This commit is contained in:
@@ -23,10 +23,6 @@ type WebFetchConfig = NonNullable<OpenClawConfig["tools"]>["web"] extends infer
|
||||
: undefined
|
||||
: undefined;
|
||||
|
||||
function resolveFetchConfig(cfg?: OpenClawConfig): WebFetchConfig {
|
||||
return resolveWebProviderConfig<"fetch", NonNullable<WebFetchConfig>>(cfg, "fetch");
|
||||
}
|
||||
|
||||
export type ResolveWebFetchDefinitionParams = {
|
||||
config?: OpenClawConfig;
|
||||
sandboxed?: boolean;
|
||||
|
||||
Reference in New Issue
Block a user