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

推荐订阅源

Engineering at Meta
Engineering at Meta
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
腾讯CDC
宝玉的分享
宝玉的分享
量子位
Recent Announcements
Recent Announcements
Martin Fowler
Martin Fowler
J
Java Code Geeks
V
Visual Studio Blog
阮一峰的网络日志
阮一峰的网络日志
Blog — PlanetScale
Blog — PlanetScale
大猫的无限游戏
大猫的无限游戏
博客园 - 叶小钗
S
SegmentFault 最新的问题
B
Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
博客园 - 【当耐特】
小众软件
小众软件
The Cloudflare Blog
Y
Y Combinator Blog
I
InfoQ
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
GbyAI
GbyAI
IT之家
IT之家

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: deprecate models add command (#71175) · openclaw/ope...
Takhoffman · 2026-04-25 · via Recent Commits to openclaw:main
Original file line numberDiff line numberDiff line change

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

3232

- Models/CLI: speed up `openclaw models list --all --provider <id>` for bundled providers with safe static catalogs while keeping live and third-party providers on registry discovery. (#70632) Thanks @shakkernerd.

3333

- Models/CLI: avoid broad registry enumeration for default `openclaw models list`, reducing default listing latency while preserving configured-row output. (#70883) Thanks @shakkernerd.

3434

- Models/CLI: split `openclaw models list` row-source orchestration and registry loading into narrower helpers without changing list output behavior. (#70867) Thanks @shakkernerd.

35+

- Models/commands: deprecate `/models add` so chat attempts now return a deprecation message instead of writing model configuration, and remove the add action from `/models` provider menus.

3536

- Codex harness/context-engine: run context-engine bootstrap, assembly, post-turn maintenance, and engine-owned compaction in Codex app-server sessions while keeping native Codex thread state and compaction auditable. (#70809) Thanks @jalehman.

3637

- Plugins/Google Meet: add a bundled participant plugin with personal Google auth, explicit meeting URL joins, Chrome and Twilio transports, and realtime voice support. (#70765) Thanks @steipete.

3738

- Plugins/Google Meet: default Chrome realtime sessions to OpenAI plus SoX `rec`/`play` audio bridge commands, so the usual setup only needs the plugin enabled and `OPENAI_API_KEY`.

Original file line numberDiff line numberDiff line change

@@ -1,4 +1,4 @@

1-

de02a4b0ec521fda7d951d2dc0c742fc2fa310647ffd56a666346e5ddc6b5a59 config-baseline.json

2-

bf00f7910d8f0d8e12592e8a1c6bd0397f8e62fef2c11eb0cbd3b3a3e2a78ffe config-baseline.core.json

1+

2894c80bc234b33f14a0ddb09e6f42368da4ca23e0e7faceb13aba52239c1a76 config-baseline.json

2+

c8ff25fcdd2389d5fd88f8ba188d77c21f58b56765b555eecf3b37437f743d50 config-baseline.core.json

33

22d7cd6d8279146b2d79c9531a55b80b52a2c99c81338c508104729154fdd02d config-baseline.channel.json

4-

b79dc28c1b6002dc59bd77bde47c1855a9ece72b9fdf94c0baf0c5320b2be12c config-baseline.plugin.json

4+

5ce9062d0ab7f9447f149fc0770571068b4c4c89e0fb80ae6ef7b3f2a146c8b3 config-baseline.plugin.json

Original file line numberDiff line numberDiff line change

@@ -305,7 +305,7 @@ By default, components are single use. Set `components.reusable=true` to allow b

305305
306306

To restrict who can click a button, set `allowedUsers` on that button (Discord user IDs, tags, or `*`). When configured, unmatched users receive an ephemeral denial.

307307
308-

The `/model` and `/models` slash commands open an interactive model picker with provider and model dropdowns plus a Submit step. Unless `commands.modelsWrite=false`, `/models add` also supports adding a new provider/model entry from chat, and newly added models show up without restarting the gateway. The picker reply is ephemeral and only the invoking user can use it.

308+

The `/model` and `/models` slash commands open an interactive model picker with provider and model dropdowns plus a Submit step. `/models add` is deprecated and now returns a deprecation message instead of registering models from chat. The picker reply is ephemeral and only the invoking user can use it.

309309
310310

File attachments:

311311
Original file line numberDiff line numberDiff line change

@@ -301,8 +301,8 @@ Surface different features that extend the above defaults.

301301

},

302302

{

303303

"command": "/models",

304-

"description": "List providers/models or add a model",

305-

"usage_hint": "[provider] [page] [limit=<n>|size=<n>|all] | add <provider> <modelId>"

304+

"description": "List providers/models",

305+

"usage_hint": "[provider] [page] [limit=<n>|size=<n>|all]"

306306

},

307307

{

308308

"command": "/help",

Original file line numberDiff line numberDiff line change

@@ -130,9 +130,7 @@ Notes:

130130
131131

- `/model` (and `/model list`) is a compact, numbered picker (model family + available providers).

132132

- On Discord, `/model` and `/models` open an interactive picker with provider and model dropdowns plus a Submit step.

133-

- `/models add` is available by default and can be disabled with `commands.modelsWrite=false`.

134-

- When enabled, `/models add <provider> <modelId>` is the fastest path; bare `/models add` starts a provider-first guided flow where supported.

135-

- After `/models add`, the new model becomes available in `/models` and `/model` without restarting the gateway.

133+

- `/models add` is deprecated and now returns a deprecation message instead of registering models from chat.

136134

- `/model <#>` selects from that picker.

137135

- `/model` persists the new session selection immediately.

138136

- If the agent is idle, the next run uses the new model right away.

@@ -151,14 +149,6 @@ Notes:

151149
152150

Full command behavior/config: [Slash commands](/tools/slash-commands).

153151
154-

Examples:

155-
156-

```text

157-

/models add

158-

/models add ollama glm-5.1:cloud

159-

/models add lmstudio qwen/qwen3.5-9b

160-

```

161-
162152

## CLI commands

163153
164154

```bash

Original file line numberDiff line numberDiff line change

@@ -3138,8 +3138,8 @@ describe("createTelegramBot", () => {

31383138

}

31393139

)?.reply_markup?.inline_keyboard?.[0]?.[0],

31403140

).toEqual({

3141-

text: "Add model",

3142-

callback_data: "/models add",

3141+

text: "openai (1)",

3142+

callback_data: "mdl_list_openai_1",

31433143

});

31443144

});

31453145

@@ -3527,8 +3527,8 @@ describe("createTelegramBot", () => {

35273527

}

35283528

)?.reply_markup?.inline_keyboard?.[0]?.[0],

35293529

).toEqual({

3530-

text: "Add model",

3531-

callback_data: "/models add",

3530+

text: "openai (1)",

3531+

callback_data: "mdl_list_openai_1",

35323532

});

35333533

});

35343534
Original file line numberDiff line numberDiff line change

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

1010

export { buildCommandsPaginationKeyboard };

1111
1212

export function buildTelegramModelsMenuButtons(params: { providers: ProviderInfo[] }) {

13-

return [

14-

[{ text: "Add model", callback_data: "/models add" }],

15-

...buildProviderKeyboard(params.providers),

16-

];

13+

return buildProviderKeyboard(params.providers);

1714

}

1815
1916

export function buildTelegramModelsMenuChannelData(params: {

Original file line numberDiff line numberDiff line change

@@ -39,7 +39,6 @@ describe("createTelegramPluginBase config duplicate token guard", () => {

3939

expect(channelData).toEqual({

4040

telegram: {

4141

buttons: [

42-

[{ text: "Add model", callback_data: "/models add" }],

4342

[

4443

{ text: "anthropic (2)", callback_data: "mdl_list_anthropic_1" },

4544

{ text: "openai (3)", callback_data: "mdl_list_openai_1" },

Original file line numberDiff line numberDiff line change

@@ -0,0 +1,38 @@

1+

import { describe, expect, it } from "vitest";

2+

import { isLegacyModelsAddCodexMetadataModel } from "./openai-codex-models-add-legacy.js";

3+
4+

function buildLegacyModel(id: string) {

5+

return {

6+

id,

7+

api: "openai-codex-responses",

8+

reasoning: true,

9+

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

10+

cost: { input: 5, output: 30, cacheRead: 0.5, cacheWrite: 0 },

11+

contextWindow: 400_000,

12+

contextTokens: 272_000,

13+

maxTokens: 128_000,

14+

};

15+

}

16+
17+

describe("isLegacyModelsAddCodexMetadataModel", () => {

18+

it("matches the legacy gpt-5.5-pro models-add fingerprint", () => {

19+

expect(

20+

isLegacyModelsAddCodexMetadataModel({

21+

provider: "openai-codex",

22+

model: buildLegacyModel("gpt-5.5-pro"),

23+

}),

24+

).toBe(true);

25+

});

26+
27+

it("does not match current pro pricing as legacy models-add metadata", () => {

28+

expect(

29+

isLegacyModelsAddCodexMetadataModel({

30+

provider: "openai-codex",

31+

model: {

32+

...buildLegacyModel("gpt-5.5-pro"),

33+

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

34+

},

35+

}),

36+

).toBe(false);

37+

});

38+

});

Original file line numberDiff line numberDiff line change

@@ -848,7 +848,7 @@ export function buildBuiltinChatCommands(): ChatCommandDefinition[] {

848848

defineChatCommand({

849849

key: "models",

850850

nativeName: "models",

851-

description: "List model providers/models or add a model.",

851+

description: "List model providers/models.",

852852

textAlias: "/models",

853853

tier: "standard",

854854

argsParsing: "none",