惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

GbyAI
GbyAI
B
Blog
Stack Overflow Blog
Stack Overflow Blog
量子位
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
T
Tailwind CSS Blog
MongoDB | Blog
MongoDB | Blog
小众软件
小众软件
博客园 - 三生石上(FineUI控件)
Recent Announcements
Recent Announcements
U
Unit 42
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
腾讯CDC
D
DataBreaches.Net
Microsoft Azure Blog
Microsoft Azure Blog
G
Google Developers Blog
M
MIT News - Artificial intelligence
P
Proofpoint News Feed
罗磊的独立博客
L
LangChain Blog
V
Visual Studio Blog
雷峰网
雷峰网
aimingoo的专栏
aimingoo的专栏
宝玉的分享
宝玉的分享

Recent Commits to openclaw:main

test: merge chat side-result checks · openclaw/openclaw@ddd2c2a test: merge cron history checks · openclaw/openclaw@f7eb746 test: merge responsive navigation shell checks · openclaw/openclaw@c2e4b47 docs(changelog): add codex oauth fixes · openclaw/openclaw@628e6cd test: merge navigation routing cases · openclaw/openclaw@5d8cecb Tests: mock channel registry bundled fallback · openclaw/openclaw@2b08233 Secrets: avoid broad web search discovery for single plugin config · openclaw/openclaw@a464f59 test: merge config view browser checks · openclaw/openclaw@20cf511 fix(status): align oauth health with runtime · openclaw/openclaw@eed7116 feat: add macOS screen snapshots for monitor preview (#67954) thanks … · openclaw/openclaw@f377db1 fix: report shared auth scopes in hello-ok (#67810) thanks @BunsDev · openclaw/openclaw@0b6c39b Auto-reply: avoid eager bundled route fallback · openclaw/openclaw@3ea1bf4 Tests: narrow session binding contract setup · openclaw/openclaw@54e4e16 fix(macOS): enable undo/redo in webchat composer text input (#34962) · openclaw/openclaw@00951dc Tests: speed up channel setup promotion · openclaw/openclaw@82b529a Docs: refresh agent instructions · openclaw/openclaw@5775fe2 fix(auth): serialize OAuth refresh across agents to fix #26322 (#67876) · openclaw/openclaw@8e79080 test: allow ollama public surface boundary test · openclaw/openclaw@7d4f1a6 Docs: add test performance guardrails · openclaw/openclaw@89706d3 Tests: restore context-engine usage proof · openclaw/openclaw@e4c4f95 Tests: slim context engine runtime coverage · openclaw/openclaw@74c198f ci: retry failed custom checkouts · openclaw/openclaw@0ee5baf test: trim duplicate provider auth onboarding cases · openclaw/openclaw@1ffc02e matrix: fix sessions_spawn --thread subagent session spawning (#67643) · openclaw/openclaw@1ce2596 test: reduce auth choice fixture churn · openclaw/openclaw@857b9cd test: mock health status config boundaries · openclaw/openclaw@9d5ab4a test: mock onboard config io boundary · openclaw/openclaw@299694d test: mock legacy state plugin boundaries · openclaw/openclaw@2713089 test: mock channel install boundaries · openclaw/openclaw@b945248 test: mock doctor preview channel boundaries · openclaw/openclaw@b1a3ad4
fix(codex): align network proxy profile config · openclaw...
vincentkoc · 2026-06-17 · via Recent Commits to openclaw:main

@@ -14,10 +14,7 @@ import {

1414

import type { OpenClawConfig } from "../config/types.openclaw.js";

1515

import { logVerbose } from "../globals.js";

1616

import { resolveManifestContractOwnerPluginId } from "../plugins/plugin-registry-contributions.js";

17-

import type {

18-

PluginWebSearchProviderEntry,

19-

WebSearchProviderToolDefinition,

20-

} from "../plugins/types.js";

17+

import type { PluginWebSearchProviderEntry } from "../plugins/types.js";

2118

import {

2219

resolvePluginWebSearchProviders,

2320

resolveRuntimeWebSearchProviders,

@@ -30,7 +27,6 @@ import {

3027

providerRequiresCredential,

3128

readWebProviderEnvValue,

3229

resolveWebProviderConfig,

33-

resolveWebProviderDefinition,

3430

} from "../web/provider-runtime-shared.js";

3531

import type {

3632

ResolveWebSearchDefinitionParams,

@@ -239,28 +235,6 @@ function resolveRuntimePreferredWebSearchProviderId(params: {

239235

: undefined;

240236

}

241237242-

function resolveTrustedRuntimeWebSearchMetadata(params: {

243-

config?: OpenClawConfig;

244-

search?: WebSearchConfig;

245-

runtimeWebSearch?: RuntimeWebSearchMetadata;

246-

providers?: PluginWebSearchProviderEntry[];

247-

agentDir?: string;

248-

}): RuntimeWebSearchMetadata | undefined {

249-

const runtimeWebSearch = params.runtimeWebSearch;

250-

if (!runtimeWebSearch) {

251-

return undefined;

252-

}

253-

const trustedProviderId = resolveRuntimePreferredWebSearchProviderId(params);

254-

const runtimeProviderId = normalizeOptionalLowercaseString(

255-

runtimeWebSearch.selectedProvider ?? runtimeWebSearch.providerConfigured,

256-

);

257-

if (trustedProviderId && trustedProviderId === runtimeProviderId) {

258-

return runtimeWebSearch;

259-

}

260-

const { selectedProvider: _selectedProvider, ...metadataWithoutSelection } = runtimeWebSearch;

261-

return metadataWithoutSelection;

262-

}

263-264238

function resolveExplicitWebSearchProviderId(params: {

265239

search?: WebSearchConfig;

266240

runtimeWebSearch?: RuntimeWebSearchMetadata;

@@ -370,61 +344,6 @@ function loadSortedWebSearchProviders(

370344

);

371345

}

372346373-

/** Resolves the executable web_search provider tool definition. */

374-

function resolveWebSearchDefinition(

375-

options?: ResolveWebSearchDefinitionParams,

376-

): { provider: PluginWebSearchProviderEntry; definition: WebSearchProviderToolDefinition } | null {

377-

const { config, search, runtimeWebSearch } = resolveWebSearchRequestContext(options);

378-

const providers = loadSortedWebSearchProviders({

379-

config,

380-

search,

381-

runtimeWebSearch,

382-

providerId: options?.providerId,

383-

preferRuntimeProviders: options?.preferRuntimeProviders,

384-

});

385-

const trustedRuntimeWebSearch = resolveTrustedRuntimeWebSearchMetadata({

386-

config,

387-

search,

388-

runtimeWebSearch,

389-

providers,

390-

agentDir: options?.agentDir,

391-

});

392-

return resolveWebProviderDefinition({

393-

config,

394-

toolConfig: search as Record<string, unknown> | undefined,

395-

runtimeMetadata: trustedRuntimeWebSearch,

396-

sandboxed: options?.sandboxed,

397-

providerId: options?.providerId,

398-

providers,

399-

resolveEnabled: ({ toolConfig, sandboxed }) =>

400-

resolveWebSearchEnabled({

401-

search: toolConfig as WebSearchConfig | undefined,

402-

sandboxed,

403-

}),

404-

resolveAutoProviderId: ({ config: configResult, toolConfig, providers: providersValue }) =>

405-

resolveWebSearchProviderId({

406-

config: configResult,

407-

agentDir: options?.agentDir,

408-

search: toolConfig as WebSearchConfig | undefined,

409-

providers: providersValue,

410-

}),

411-

resolveFallbackProviderId: ({ config: configValue, toolConfig, providers: providersLocal }) =>

412-

resolveWebSearchProviderId({

413-

config: configValue,

414-

agentDir: options?.agentDir,

415-

search: toolConfig as WebSearchConfig | undefined,

416-

providers: providersLocal,

417-

}),

418-

createTool: ({ provider, config: configLocal, toolConfig, runtimeMetadata }) =>

419-

provider.createTool({

420-

config: configLocal,

421-

agentDir: options?.agentDir,

422-

searchConfig: toolConfig,

423-

runtimeMetadata,

424-

}),

425-

});

426-

}

427-428347

function resolveWebSearchCandidates(

429348

options?: ResolveWebSearchDefinitionParams,

430349

): PluginWebSearchProviderEntry[] {