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

推荐订阅源

L
LangChain Blog
J
Java Code Geeks
P
Proofpoint News Feed
Recent Announcements
Recent Announcements
罗磊的独立博客
H
Hackread – Cybersecurity News, Data Breaches, AI and More
博客园_首页
Hugging Face - Blog
Hugging Face - Blog
MongoDB | Blog
MongoDB | Blog
人人都是产品经理
人人都是产品经理
博客园 - 【当耐特】
雷峰网
雷峰网
D
DataBreaches.Net
B
Blog RSS Feed
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
博客园 - 聂微东
V
Visual Studio Blog
Apple Machine Learning Research
Apple Machine Learning Research
N
Netflix TechBlog - Medium
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Martin Fowler
Martin Fowler
有赞技术团队
有赞技术团队
Blog — PlanetScale
Blog — PlanetScale
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: surface silent model fallback failures (#80917) · op...
dutifulbob · 2026-05-12 · via Recent Commits to openclaw:main

File tree

  • src

    • agents/pi-embedded-runner

      • run

    • auto-reply/reply

Original file line numberDiff line numberDiff line change

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

2626

- memory-wiki: require write scope for Obsidian search [AI]. (#80904) Thanks @pgondhi987.

2727

- Build: skip copied metadata for bundled plugins that are excluded from build entries, preventing update/status rebuilds from advertising missing QQ Bot runtime files. (#80925)

2828

- Control UI/sessions: nest subagent sessions under their parent session in the session picker dropdown using a visual `└─ ` prefix, making the parent-child relationship clear. Fixes #77628. (#78623) Thanks @chinar-amrutkar.

29+

- Auto-reply: surface a visible error when the configured model backend fails and fallback produces no visible reply, while preserving intentional silent turns and side-effect-only deliveries. (#80917) Thanks @dutifulbob.

2930
3031

### Changes

3132
Original file line numberDiff line numberDiff line change

@@ -630,6 +630,20 @@ describe("overflow compaction in run loop", () => {

630630

expect(result.messagingToolSentTexts).toEqual(["already delivered"]);

631631

});

632632
633+

it("propagates deterministic approval prompt delivery from attempts", async () => {

634+

mockedRunEmbeddedAttempt.mockResolvedValue(

635+

makeAttemptResult({

636+

assistantTexts: [],

637+

didSendDeterministicApprovalPrompt: true,

638+

}),

639+

);

640+
641+

const result = await runEmbeddedPiAgent(baseParams);

642+
643+

expect(result.payloads).toBeUndefined();

644+

expect(result.didSendDeterministicApprovalPrompt).toBe(true);

645+

});

646+
633647

it("returns a timeout payload instead of a partial assistant fragment after stream timeout", async () => {

634648

mockedRunEmbeddedAttempt.mockResolvedValue(

635649

makeAttemptResult({

Original file line numberDiff line numberDiff line change

@@ -2692,6 +2692,7 @@ export async function runEmbeddedAttempt(

26922692

getSuccessfulCronAdds,

26932693

getReplayState,

26942694

didSendViaMessagingTool,

2695+

didSendDeterministicApprovalPrompt,

26952696

getLastToolError,

26962697

setTerminalLifecycleMeta,

26972698

getUsageTotals,

@@ -4086,6 +4087,7 @@ export async function runEmbeddedAttempt(

40864087

currentAttemptAssistant,

40874088

lastToolError: getLastToolError?.(),

40884089

didSendViaMessagingTool: didSendViaMessagingTool(),

4090+

didSendDeterministicApprovalPrompt: didSendDeterministicApprovalPrompt(),

40894091

messagingToolSentTexts: getMessagingToolSentTexts(),

40904092

messagingToolSentMediaUrls: getMessagingToolSentMediaUrls(),

40914093

messagingToolSentTargets: getMessagingToolSentTargets(),

Original file line numberDiff line numberDiff line change

@@ -177,6 +177,8 @@ export type EmbeddedPiRunResult = {

177177

// True if a messaging tool successfully sent a message.

178178

// Used to suppress agent's confirmation text.

179179

didSendViaMessagingTool?: boolean;

180+

// True if a deterministic approval prompt was sent through the tool-result channel.

181+

didSendDeterministicApprovalPrompt?: boolean;

180182

// Texts successfully sent via messaging tools during the run.

181183

messagingToolSentTexts?: string[];

182184

// Media URLs successfully sent via messaging tools during the run.