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

推荐订阅源

Google DeepMind News
Google DeepMind News
aimingoo的专栏
aimingoo的专栏
爱范儿
爱范儿
D
Docker
I
InfoQ
Microsoft Security Blog
Microsoft Security Blog
G
Google Developers Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Vercel News
Vercel News
H
Hackread – Cybersecurity News, Data Breaches, AI and More
T
Tailwind CSS Blog
D
DataBreaches.Net
月光博客
月光博客
N
Netflix TechBlog - Medium
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
V
Visual Studio Blog
MyScale Blog
MyScale Blog
B
Blog
阮一峰的网络日志
阮一峰的网络日志
L
LangChain Blog
Recent Announcements
Recent Announcements
Microsoft Azure Blog
Microsoft Azure Blog
WordPress大学
WordPress大学

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(openai-codex): honor providerConfig.baseUrl in dynami...
arniesaha · 2026-05-03 · via Recent Commits to openclaw:main
Original file line numberDiff line numberDiff line change

@@ -68,6 +68,7 @@ Docs: https://docs.openclaw.ai

6868

- Plugins/externalization: keep official external install docs, update examples, and live Codex npm checks on default npm tags instead of `@beta`. Thanks @vincentkoc.

6969

- Plugins/externalization: keep ACPX, Google Chat, and LINE publishable plugin dist trees out of the core npm package file list.

7070

- Plugins/ClawHub: fall back to version metadata when the artifact resolver route is missing and keep the Docker ClawHub fixture aligned with npm-pack artifact resolution, avoiding false version-not-found failures during plugin install validation. Thanks @vincentkoc.

71+

- Providers/openai-codex: honor `providerConfig.baseUrl` in the dynamic-model synthesis fallback so codex providers configured with a custom upstream (for example a forwarding proxy) no longer silently bypass the configured URL when the registry has no template row to clone for the requested model id. (#76428) Thanks @arniesaha.

7172

- Status/channels: show configured channels in `openclaw status` and config-only `openclaw channels status` output even when the Gateway is unreachable, avoiding empty Channels tables on WSL and other no-Gateway paths. Thanks @vincentkoc.

7273

- Plugins/ClawHub: explain unavailable explicit ClawHub ClawPack artifact downloads with a temporary npm install hint while ClawHub artifact routing rolls out. Thanks @vincentkoc.

7374

- Media: accept home-relative `MEDIA:~/...` attachment paths while preserving existing file-read policy, traversal checks, and media type validation. Fixes #73796. Thanks @fabkury.

Original file line numberDiff line numberDiff line change

@@ -405,6 +405,43 @@ describe("openai codex provider", () => {

405405

});

406406

});

407407
408+

it("honors providerConfig.baseUrl in the gpt-5.5 synthesis fallback", () => {

409+

const provider = buildOpenAICodexProviderPlugin();

410+
411+

const model = provider.resolveDynamicModel?.({

412+

provider: "openai-codex",

413+

modelId: "gpt-5.5",

414+

modelRegistry: createSingleModelRegistry(createCodexTemplate({}), null) as never,

415+

providerConfig: { baseUrl: "http://proxy.local:30400" },

416+

});

417+
418+

expect(model).toMatchObject({

419+

id: "gpt-5.5",

420+

api: "openai-codex-responses",

421+

baseUrl: "http://proxy.local:30400",

422+

});

423+

});

424+
425+

it("honors providerConfig.baseUrl in the gpt-5.4 synthesis fallback", () => {

426+

const provider = buildOpenAICodexProviderPlugin();

427+

const emptyRegistry = { find: () => null };

428+
429+

const model = provider.resolveDynamicModel?.({

430+

provider: "openai-codex",

431+

modelId: "gpt-5.4",

432+

modelRegistry: emptyRegistry as never,

433+

providerConfig: { baseUrl: "http://proxy.local:30400" },

434+

});

435+
436+

expect(model).toMatchObject({

437+

id: "gpt-5.4",

438+

api: "openai-codex-responses",

439+

baseUrl: "http://proxy.local:30400",

440+

contextWindow: 1_050_000,

441+

maxTokens: 128_000,

442+

});

443+

});

444+
408445

it("resolves gpt-5.4-pro from a gpt-5.4 runtime template when legacy codex rows are absent", () => {

409446

const provider = buildOpenAICodexProviderPlugin();

410447
Original file line numberDiff line numberDiff line change

@@ -172,6 +172,7 @@ function normalizeCodexTransport(model: ProviderRuntimeModel): ProviderRuntimeMo

172172

function resolveCodexForwardCompatModel(ctx: ProviderResolveDynamicModelContext) {

173173

const trimmedModelId = ctx.modelId.trim();

174174

const lower = normalizeLowercaseStringOrEmpty(trimmedModelId);

175+

const synthBaseUrl = ctx.providerConfig?.baseUrl ?? OPENAI_CODEX_BASE_URL;

175176
176177

if (lower === OPENAI_CODEX_GPT_55_MODEL_ID) {

177178

const model = ctx.modelRegistry.find(PROVIDER_ID, trimmedModelId) as

@@ -188,7 +189,7 @@ function resolveCodexForwardCompatModel(ctx: ProviderResolveDynamicModelContext)

188189

name: trimmedModelId,

189190

api: "openai-codex-responses",

190191

provider: PROVIDER_ID,

191-

baseUrl: OPENAI_CODEX_BASE_URL,

192+

baseUrl: synthBaseUrl,

192193

reasoning: true,

193194

input: ["text", "image"],

194195

cost: { input: 0, output: 0, cacheRead: 0, cacheWrite: 0 },

@@ -264,7 +265,7 @@ function resolveCodexForwardCompatModel(ctx: ProviderResolveDynamicModelContext)

264265

: trimmedModelId,

265266

api: "openai-codex-responses",

266267

provider: PROVIDER_ID,

267-

baseUrl: OPENAI_CODEX_BASE_URL,

268+

baseUrl: synthBaseUrl,

268269

reasoning: true,

269270

input: ["text", "image"],

270271

cost: { input: 0, output: 0, cacheRead: 0, cacheWrite: 0 },