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

推荐订阅源

小众软件
小众软件
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
WordPress大学
WordPress大学
月光博客
月光博客
Hugging Face - Blog
Hugging Face - Blog
博客园 - 聂微东
博客园 - 【当耐特】
博客园_首页
The Cloudflare Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Apple Machine Learning Research
Apple Machine Learning Research
Last Week in AI
Last Week in AI
酷 壳 – CoolShell
酷 壳 – CoolShell
大猫的无限游戏
大猫的无限游戏
雷峰网
雷峰网
量子位
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
T
Tailwind CSS Blog
IT之家
IT之家
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
GbyAI
GbyAI
V
Visual Studio Blog
F
Fortinet All Blogs
Martin Fowler
Martin Fowler

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: /status is too verbose for pinned model sessions (#9...
Solvely-Coli · 2026-06-23 · via Recent Commits to openclaw:main
Original file line numberDiff line numberDiff line change

@@ -1470,7 +1470,7 @@ describe("buildStatusReply subagent summary", () => {

14701470

});

14711471
14721472

const normalized = normalizeTestText(text);

1473-

expect(normalized).toContain("Session selected: anthropic/claude-opus-4-7");

1473+

expect(normalized).toContain("Model: anthropic/claude-opus-4-7");

14741474

expect(normalized).toContain("oauth (claude-cli)");

14751475

expect(normalized).not.toContain("api-key (env: ANTHROPIC_API_KEY)");

14761476

expect(normalized).not.toContain("Usage:");

Original file line numberDiff line numberDiff line change

@@ -1732,7 +1732,7 @@ describe("buildStatusMessage", () => {

17321732

});

17331733
17341734

const normalized = normalizeTestText(text);

1735-

expect(normalized).toContain("Session selected: google/gemini-3.1-flash-lite");

1735+

expect(normalized).toContain("Model: google/gemini-3.1-flash-lite");

17361736

expect(normalized).not.toContain("Fallbacks:");

17371737

});

17381738

@@ -1765,7 +1765,7 @@ describe("buildStatusMessage", () => {

17651765

expect(normalizeTestText(text)).toContain("Model: google-antigravity/claude-sonnet-4-6");

17661766

});

17671767
1768-

it("warns when the session-selected model differs from the configured default", () => {

1768+

it("renders session-selected model overrides compactly", () => {

17691769

const text = buildStatusMessage({

17701770

agent: {

17711771

model: "zhipu/glm-4.5-air",

@@ -1785,14 +1785,14 @@ describe("buildStatusMessage", () => {

17851785

});

17861786
17871787

const normalized = normalizeTestText(text);

1788-

expect(normalized).toContain("Configured default: zhipu/glm-4.5-air");

1789-

expect(normalized).toContain("Session selected: deepseek/deepseek-v4-flash");

1790-

expect(normalized).toContain("Reason: session override");

1791-

expect(normalized).toContain(

1792-

"This session is pinned to deepseek/deepseek-v4-flash; config primary zhipu/glm-4.5-air will apply to new/unpinned sessions.",

1793-

);

1794-

expect(normalized).toContain("Clear with: /model default");

1795-

expect(normalized).toContain(

1788+

expect(normalized).toContain("Model: deepseek/deepseek-v4-flash");

1789+

expect(normalized).toContain("pinned session; config primary zhipu/glm-4.5-air");

1790+

expect(normalized).toContain("clear /model default");

1791+

expect(normalized).not.toContain("Configured default:");

1792+

expect(normalized).not.toContain("Session selected:");

1793+

expect(normalized).not.toContain("Reason: session override");

1794+

expect(normalized).not.toContain("This session is pinned");

1795+

expect(normalized).not.toContain(

17961796

"Docs: https://docs.openclaw.ai/concepts/models#selection-source-and-fallback-behavior",

17971797

);

17981798

});

Original file line numberDiff line numberDiff line change

@@ -60,7 +60,8 @@ describe("buildStatusMessage context window", () => {

6060

modelAuth: "api-key",

6161

});

6262
63-

expect(text).toContain("Session selected: ollama-cloud/glm-5.1");

63+

expect(text).toContain("Model: ollama-cloud/glm-5.1");

64+

expect(text).toContain("pinned session; config primary ollama-cloud/deepseek-v4-pro");

6465

expect(text).toContain("Context: 128k/200k");

6566

expect(text).not.toContain("Context: 128k/1.0m");

6667

});

@@ -127,5 +128,4 @@ describe("buildStatusMessage context window", () => {

127128

expect(text).toContain("Context: 36k/1.0m");

128129

expect(text).not.toContain("Context: 36k/200k");

129130

});

130-
131131

});

Original file line numberDiff line numberDiff line change

@@ -1070,16 +1070,12 @@ export function buildStatusMessage(args: StatusArgs): string {

10701070

!areRuntimeModelRefsEquivalent(selectedModelLabel, configuredDefaultModelLabel, {

10711071

config: args.config,

10721072

});

1073-

const modelLines = configDefaultDiffersFromSession

1074-

? [

1075-

`🧠 Configured default: ${configuredDefaultModelLabel}`,

1076-

`📌 Session selected: ${selectedModelLabel}${selectedAuthLabel}${modelNote}`,

1077-

"⚠️ Reason: session override",

1078-

`⚠️ This session is pinned to ${selectedModelLabel}; config primary ${configuredDefaultModelLabel} will apply to new/unpinned sessions.`,

1079-

"↩️ Clear with: /model default",

1080-

"📖 Docs: https://docs.openclaw.ai/concepts/models#selection-source-and-fallback-behavior",

1081-

]

1082-

: [`🧠 Model: ${selectedModelLabel}${selectedAuthLabel}${modelNote}`];

1073+

const overrideLabel = configDefaultDiffersFromSession

1074+

? ` · pinned session; config primary ${configuredDefaultModelLabel} · clear /model default`

1075+

: "";

1076+

const modelLines = [

1077+

`🧠 Model: ${selectedModelLabel}${selectedAuthLabel}${modelNote}${overrideLabel}`,

1078+

];

10831079
10841080

// Show configured fallback models (from agent model config)

10851081

const configuredFallbacks = (() => {