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

推荐订阅源

博客园 - Franky
Apple Machine Learning Research
Apple Machine Learning Research
月光博客
月光博客
Vercel News
Vercel News
Recent Announcements
Recent Announcements
B
Blog RSS Feed
Y
Y Combinator Blog
M
MIT News - Artificial intelligence
MongoDB | Blog
MongoDB | Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
雷峰网
雷峰网
D
Docker
Jina AI
Jina AI
IT之家
IT之家
人人都是产品经理
人人都是产品经理
L
LangChain Blog
G
Google Developers Blog
Google DeepMind News
Google DeepMind News
MyScale Blog
MyScale Blog
博客园 - 叶小钗
The GitHub Blog
The GitHub Blog
The Cloudflare Blog
A
About on SuperTechFans
Hugging Face - Blog
Hugging Face - Blog

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: canonicalize nested gemini catalog ids · openclaw/op...
steipete · 2026-05-09 · via Recent Commits to openclaw:main
Original file line numberDiff line numberDiff line change

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

1010

- Docker: run the runtime image under `tini` so long-lived containers reap orphaned child processes and forward signals correctly. (#77885) Thanks @VintageAyu.

1111

- Google/Gemini: normalize retired `google/gemini-3-pro-preview` and `google-gemini-cli/gemini-3-pro-preview` selections to `google/gemini-3.1-pro-preview` before they are written to model config.

1212

- Google/Gemini: emit canonical `google/gemini-3.1-pro-preview` ids from configured provider catalog rows so model list and selection paths can test Gemini 3.1 instead of retired Gemini 3 Pro.

13+

- Google/Gemini: normalize nested proxy-provider catalog ids like `google/gemini-3-pro-preview` to `google/gemini-3.1-pro-preview`, so Kilo-style configured catalogs test Gemini 3.1 instead of the retired Gemini 3 Pro id.

1314

- Amazon Bedrock: support `serviceTier` parameter for Bedrock models, configurable via `agents.defaults.params.serviceTier` or per-model in `agents.defaults.models`. Valid values: `default`, `flex`, `priority`, `reserved`. (#64512) Thanks @mobilinkd.

1415

- Control UI: read the Quick Settings exec policy badge from `tools.exec.security` instead of the non-schema `agents.defaults.exec.security` path, so configured `full`/`deny` values render accurately. Fixes #78311. Thanks @FriedBack.

1516

- Control UI/usage: add transcript-backed historical lineage rollups for rotated logical sessions, with current-instance vs historical-lineage scope controls and long-range presets so usage history stays visible after restarts and updates. Fixes #50701. Thanks @dev-gideon-llc and @BunsDev.

Original file line numberDiff line numberDiff line change

@@ -60,13 +60,13 @@ OpenClaw dynamically discovers available models from the Kilo Gateway at startup

6060
6161

Any model available on the gateway can be used with the `kilocode/` prefix:

6262
63-

| Model ref | Notes |

64-

| -------------------------------------- | ---------------------------------- |

65-

| `kilocode/kilo/auto` | Default — smart routing |

66-

| `kilocode/anthropic/claude-sonnet-4` | Anthropic via Kilo |

67-

| `kilocode/openai/gpt-5.5` | OpenAI via Kilo |

68-

| `kilocode/google/gemini-3-pro-preview` | Google via Kilo |

69-

| ...and many more | Use `/models kilocode` to list all |

63+

| Model ref | Notes |

64+

| ---------------------------------------- | ---------------------------------- |

65+

| `kilocode/kilo/auto` | Default — smart routing |

66+

| `kilocode/anthropic/claude-sonnet-4` | Anthropic via Kilo |

67+

| `kilocode/openai/gpt-5.5` | OpenAI via Kilo |

68+

| `kilocode/google/gemini-3.1-pro-preview` | Google via Kilo |

69+

| ...and many more | Use `/models kilocode` to list all |

7070
7171

<Tip>

7272

At startup, OpenClaw queries `GET https://api.kilo.ai/api/gateway/models` and merges

Original file line numberDiff line numberDiff line change

@@ -95,7 +95,7 @@ describe("kilocode provider plugin", () => {

9595

).toEqual([

9696

{

9797

provider: "kilocode",

98-

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

98+

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

9999

name: "Gemini 3 Pro Preview",

100100

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

101101

reasoning: true,

Original file line numberDiff line numberDiff line change

@@ -59,7 +59,7 @@ describe("provider-catalog-shared native streaming usage compat", () => {

5959

});

6060
6161

describe("provider-catalog-shared configured catalog entries", () => {

62-

it("preserves configured audio and video input modalities", () => {

62+

it("preserves configured audio and video input modalities while normalizing nested Gemini ids", () => {

6363

expect(

6464

readConfiguredProviderCatalogEntries({

6565

providerId: "kilocode",

@@ -88,7 +88,7 @@ describe("provider-catalog-shared configured catalog entries", () => {

8888

).toEqual([

8989

{

9090

provider: "kilocode",

91-

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

91+

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

9292

name: "Gemini 3 Pro Preview",

9393

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

9494

reasoning: true,

Original file line numberDiff line numberDiff line change

@@ -13,6 +13,7 @@ import type {

1313

ModelCatalogModel,

1414

ModelCatalogTieredCost,

1515

} from "../model-catalog/types.js";

16+

import { normalizeGooglePreviewModelId } from "./provider-model-id-normalize.js";

1617

import type { ModelProviderConfig } from "./provider-model-shared.js";

1718
1819

export type { ProviderCatalogContext, ProviderCatalogResult } from "../plugins/types.js";

@@ -158,6 +159,17 @@ function resolveConfiguredProviderModels(

158159

return Array.isArray(providerConfig.models) ? providerConfig.models : [];

159160

}

160161
162+

function normalizeConfiguredProviderCatalogModelId(id: string): string {

163+

const trimmed = id.trim();

164+

const googlePrefix = "google/";

165+

if (!trimmed.startsWith(googlePrefix)) {

166+

return trimmed;

167+

}

168+

const modelId = trimmed.slice(googlePrefix.length);

169+

const normalizedModelId = normalizeGooglePreviewModelId(modelId);

170+

return normalizedModelId === modelId ? trimmed : `${googlePrefix}${normalizedModelId}`;

171+

}

172+
161173

export function readConfiguredProviderCatalogEntries(params: {

162174

config?: OpenClawConfig;

163175

providerId: string;

@@ -174,7 +186,9 @@ export function readConfiguredProviderCatalogEntries(params: {

174186

if (!id) {

175187

continue;

176188

}

177-

const name = (typeof model.name === "string" ? model.name : id).trim() || id;

189+

const normalizedId = normalizeConfiguredProviderCatalogModelId(id);

190+

const name =

191+

(typeof model.name === "string" ? model.name : normalizedId).trim() || normalizedId;

178192

const contextWindow =

179193

typeof model.contextWindow === "number" && model.contextWindow > 0

180194

? model.contextWindow

@@ -183,7 +197,7 @@ export function readConfiguredProviderCatalogEntries(params: {

183197

const input = normalizeConfiguredCatalogModelInput(model.input);

184198

entries.push({

185199

provider,

186-

id,

200+

id: normalizedId,

187201

name,

188202

...(contextWindow ? { contextWindow } : {}),

189203

...(reasoning !== undefined ? { reasoning } : {}),