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

推荐订阅源

F
Fortinet All Blogs
罗磊的独立博客
IT之家
IT之家
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
月光博客
月光博客
博客园 - Franky
博客园 - 聂微东
博客园_首页
爱范儿
爱范儿
量子位
博客园 - 三生石上(FineUI控件)
G
Google Developers Blog
Martin Fowler
Martin Fowler
小众软件
小众软件
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Y
Y Combinator Blog
Vercel News
Vercel News
腾讯CDC
Microsoft Azure Blog
Microsoft Azure Blog
Hugging Face - Blog
Hugging Face - Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
The Cloudflare Blog
Engineering at Meta
Engineering at Meta

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: address code review findings · openclaw/openclaw@b3e...
jimdawdy-hub · 2026-05-13 · via Recent Commits to openclaw:main
Original file line numberDiff line numberDiff line change

@@ -2355,6 +2355,7 @@ export async function runEmbeddedPiAgent(

23552355

failoverFailure,

23562356

failoverReason: assistantFailoverReason,

23572357

timedOut,

2358+

idleTimedOut,

23582359

timedOutDuringCompaction,

23592360

timedOutDuringToolExecution,

23602361

profileRotated: false,

Original file line numberDiff line numberDiff line change

@@ -98,7 +98,8 @@ export async function handleAssistantFailover(params: {

9898
9999

if (decision.action === "rotate_profile") {

100100

const failedProfileId = params.lastProfileId;

101-

const failureReason = params.timedOut ? "timeout" : params.assistantProfileFailureReason;

101+

const failureReason =

102+

params.timedOut || params.idleTimedOut ? "timeout" : params.assistantProfileFailureReason;

102103

const markFailedProfile = async () => {

103104

if (!failedProfileId || !failureReason || failureReason === "timeout") {

104105

return;

@@ -157,6 +158,9 @@ export async function handleAssistantFailover(params: {

157158

if (params.timedOut && !params.isProbeSession && failedProfileId) {

158159

params.warn(`Profile ${failedProfileId} timed out. Trying next account...`);

159160

}

161+

if (params.idleTimedOut && !params.isProbeSession && failedProfileId) {

162+

params.warn(`Profile ${failedProfileId} idle timeout (model silent). Trying next account...`);

163+

}

160164

if (params.cloudCodeAssistFormatError && failedProfileId) {

161165

params.warn(

162166

`Profile ${failedProfileId} hit Cloud Code Assist format error. Tool calls will be sanitized on retry.`,

@@ -280,6 +284,7 @@ function resolveAssistantFailoverErrorMessage(params: {

280284

sessionKey?: string;

281285

activeErrorContext: { provider: string; model: string };

282286

timedOut: boolean;

287+

idleTimedOut: boolean;

283288

rateLimitFailure: boolean;

284289

billingFailure: boolean;

285290

authFailure: boolean;

@@ -294,7 +299,7 @@ function resolveAssistantFailoverErrorMessage(params: {

294299

})

295300

: undefined) ||

296301

params.lastAssistant?.errorMessage?.trim() ||

297-

(params.timedOut

302+

(params.timedOut || params.idleTimedOut

298303

? "LLM request timed out."

299304

: params.rateLimitFailure

300305

? "LLM request rate limited."

Original file line numberDiff line numberDiff line change

@@ -127,6 +127,7 @@ describe("resolveRunFailoverDecision", () => {

127127

failoverFailure: true,

128128

failoverReason: "format",

129129

timedOut: false,

130+

idleTimedOut: false,

130131

timedOutDuringCompaction: false,

131132

timedOutDuringToolExecution: false,

132133

profileRotated: false,

@@ -148,6 +149,7 @@ describe("resolveRunFailoverDecision", () => {

148149

failoverFailure: true,

149150

failoverReason: "format",

150151

timedOut: false,

152+

idleTimedOut: false,

151153

timedOutDuringCompaction: false,

152154

timedOutDuringToolExecution: false,

153155

profileRotated: false,

@@ -297,7 +299,6 @@ describe("resolveRunFailoverDecision", () => {

297299

reason: null,

298300

});

299301

});

300-

});

301302
302303

it("rotates profile on LLM idle timeout before falling back", () => {

303304

// idleTimedOut = model produced no tokens; no provider API error was classified.