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

推荐订阅源

Y
Y Combinator Blog
宝玉的分享
宝玉的分享
月光博客
月光博客
小众软件
小众软件
Jina AI
Jina AI
WordPress大学
WordPress大学
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
T
Tailwind CSS Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
博客园 - 【当耐特】
博客园 - 三生石上(FineUI控件)
博客园 - 司徒正美
大猫的无限游戏
大猫的无限游戏
The Cloudflare Blog
G
Google Developers Blog
M
MIT News - Artificial intelligence
N
Netflix TechBlog - Medium
云风的 BLOG
云风的 BLOG
MyScale Blog
MyScale Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
爱范儿
爱范儿
U
Unit 42
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Blog — PlanetScale
Blog — PlanetScale

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: normalize exact Gemini proxy refs · openclaw/opencla...
steipete · 2026-05-12 · via Recent Commits to openclaw:main
Original file line numberDiff line numberDiff line change

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

6666
6767

### Fixes

6868
69+

- Google/Gemini: normalize retired nested Gemini 3 Pro Preview ids when resolving exact configured proxy-provider refs, so `kilocode/google/gemini-3-pro-preview` resolves to `kilocode/google/gemini-3.1-pro-preview` for Gemini 3.1 testing.

6970

- CLI: strip generic OSC terminal escape payloads from sanitized output fields, preventing clipboard/title escape bodies from leaking into commitment tables and other terminal-safe text. Thanks @shakkernerd.

7071

- Codex app-server: match connector-backed plugin approval elicitations by stable connector id so enabled destructive actions no longer fall through to display-name-only rejection.

7172

- Build: replace selected build utility `tsx` preloads with Node native type stripping so Node 26 build paths no longer emit `DEP0205` module loader deprecation warnings. (#78584) Thanks @keshavbotagent.

Original file line numberDiff line numberDiff line change

@@ -316,10 +316,13 @@ function resolveExactConfiguredProviderRef(

316316

const provider = normalizeLowercaseStringOrEmpty(configuredProvider);

317317

return {

318318

provider,

319-

model: normalizeStaticProviderModelId(provider, modelRaw.trim(), {

320-

allowManifestNormalization: params.allowManifestNormalization,

321-

manifestPlugins: params.manifestPlugins,

322-

}),

319+

model: normalizeConfiguredProviderCatalogModelId(

320+

provider,

321+

normalizeStaticProviderModelId(provider, modelRaw.trim(), {

322+

allowManifestNormalization: params.allowManifestNormalization,

323+

manifestPlugins: params.manifestPlugins,

324+

}),

325+

),

323326

};

324327

}

325328
Original file line numberDiff line numberDiff line change

@@ -1768,6 +1768,34 @@ describe("model-selection", () => {

17681768

).toEqual({ provider: "modelstudio", model: "qwen3.6-plus" });

17691769

});

17701770
1771+

it("normalizes retired nested Gemini ids in exact configured provider refs", () => {

1772+

const cfg = {

1773+

agents: {

1774+

defaults: {

1775+

model: { primary: "kilocode/google/gemini-3-pro-preview" },

1776+

},

1777+

},

1778+

models: {

1779+

providers: {

1780+

kilocode: {

1781+

api: "openai-completions",

1782+

baseUrl: "https://kilocode.test/v1",

1783+

models: [{ id: "google/gemini-3-pro-preview", name: "Gemini 3 Pro" }],

1784+

},

1785+

},

1786+

},

1787+

} as unknown as OpenClawConfig;

1788+
1789+

expect(

1790+

resolveConfiguredModelRef({

1791+

cfg,

1792+

defaultProvider: "anthropic",

1793+

defaultModel: "claude-opus-4-6",

1794+

allowPluginNormalization: false,

1795+

}),

1796+

).toEqual({ provider: "kilocode", model: "google/gemini-3.1-pro-preview" });

1797+

});

1798+
17711799

it("keeps legacy modelstudio aliases when no exact foreign api owner is configured", () => {

17721800

const cfg = {

17731801

agents: {

Original file line numberDiff line numberDiff line change

@@ -37,4 +37,40 @@ describe("resolveConfiguredEntries", () => {

3737

expect(entries[0]?.aliases).toEqual(["Codex"]);

3838

expect(entries[1]?.tags).toEqual(new Set(["fallback#1", "configured"]));

3939

});

40+
41+

it("normalizes retired nested Gemini ids in configured provider rows", () => {

42+

const { entries } = resolveConfiguredEntries({

43+

agents: {

44+

defaults: {

45+

model: { primary: "kilocode/google/gemini-3-pro-preview" },

46+

models: {

47+

"kilocode/google/gemini-3-pro-preview": { alias: "Kilo Gemini" },

48+

},

49+

},

50+

},

51+

models: {

52+

providers: {

53+

kilocode: {

54+

api: "openai-completions",

55+

baseUrl: "https://kilocode.test/v1",

56+

models: [

57+

{

58+

id: "google/gemini-3-pro-preview",

59+

name: "Gemini 3 Pro",

60+

reasoning: true,

61+

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

62+

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

63+

contextWindow: 1_048_576,

64+

maxTokens: 65_536,

65+

},

66+

],

67+

},

68+

},

69+

},

70+

});

71+
72+

expect(entries.map((entry) => entry.key)).toEqual(["kilocode/google/gemini-3.1-pro-preview"]);

73+

expect(entries[0]?.aliases).toEqual(["Kilo Gemini"]);

74+

expect(entries[0]?.tags).toEqual(new Set(["default", "configured"]));

75+

});

4076

});

Original file line numberDiff line numberDiff line change

@@ -1,6 +1,5 @@

11

import {

22

buildModelAliasIndex,

3-

parseModelRef,

43

resolveConfiguredModelRef,

54

resolveModelRefFromString,

65

} from "../../agents/model-selection.js";

@@ -74,11 +73,17 @@ export function resolveConfiguredEntries(cfg: OpenClawConfig) {

7473

});

7574
7675

for (const key of Object.keys(cfg.agents?.defaults?.models ?? {})) {

77-

const parsed = parseModelRef(key, DEFAULT_PROVIDER, DISPLAY_MODEL_PARSE_OPTIONS);

78-

if (!parsed) {

76+

const resolved = resolveModelRefFromString({

77+

cfg,

78+

raw: key,

79+

defaultProvider: DEFAULT_PROVIDER,

80+

aliasIndex,

81+

...DISPLAY_MODEL_PARSE_OPTIONS,

82+

});

83+

if (!resolved) {

7984

continue;

8085

}

81-

addEntry(parsed, "configured");

86+

addEntry(resolved.ref, "configured");

8287

}

8388
8489

const entries: ConfiguredEntry[] = order.map((key) => {