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

推荐订阅源

M
MIT News - Artificial intelligence
罗磊的独立博客
Hugging Face - Blog
Hugging Face - Blog
J
Java Code Geeks
G
Google Developers Blog
美团技术团队
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
腾讯CDC
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
T
The Blog of Author Tim Ferriss
月光博客
月光博客
B
Blog
WordPress大学
WordPress大学
云风的 BLOG
云风的 BLOG
博客园_首页
人人都是产品经理
人人都是产品经理
aimingoo的专栏
aimingoo的专栏
Y
Y Combinator Blog
Jina AI
Jina AI
S
SegmentFault 最新的问题
H
Help Net Security
博客园 - 聂微东
Microsoft Azure Blog
Microsoft Azure Blog
Google DeepMind News
Google DeepMind News

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(agents): suppress mid-turn continuation prompts · ope...
vincentkoc · 2026-05-04 · via Recent Commits to openclaw:main

@@ -817,6 +817,10 @@ export async function runEmbeddedPiAgent(

817817

}

818818

params.onUserMessagePersisted?.(message);

819819

};

820+

const continueFromCurrentTranscript = () => {

821+

nextAttemptPromptOverride = MID_TURN_PRECHECK_CONTINUATION_PROMPT;

822+

suppressNextUserMessagePersistence = true;

823+

};

820824

const maybeEscalateRateLimitProfileFallback = (params: {

821825

failoverProvider: string;

822826

failoverModel: string;

@@ -1327,7 +1331,7 @@ export async function runEmbeddedPiAgent(

13271331

(retryingFromTranscript ? "retrying from current transcript" : "retrying prompt"),

13281332

);

13291333

if (retryingFromTranscript) {

1330-

nextAttemptPromptOverride = MID_TURN_PRECHECK_CONTINUATION_PROMPT;

1334+

continueFromCurrentTranscript();

13311335

}

13321336

continue;

13331337

}

@@ -1512,7 +1516,7 @@ export async function runEmbeddedPiAgent(

15121516

`context overflow persisted after in-attempt compaction (attempt ${overflowCompactionAttempts}/${MAX_OVERFLOW_COMPACTION_ATTEMPTS}); retrying prompt without additional compaction for ${provider}/${modelId}`,

15131517

);

15141518

if (preflightRecovery?.source === "mid-turn") {

1515-

nextAttemptPromptOverride = MID_TURN_PRECHECK_CONTINUATION_PROMPT;

1519+

continueFromCurrentTranscript();

15161520

}

15171521

continue;

15181522

}

@@ -1645,7 +1649,7 @@ export async function runEmbeddedPiAgent(

16451649

autoCompactionCount += 1;

16461650

log.info(`auto-compaction succeeded for ${provider}/${modelId}; retrying prompt`);

16471651

if (preflightRecovery?.source === "mid-turn") {

1648-

nextAttemptPromptOverride = MID_TURN_PRECHECK_CONTINUATION_PROMPT;

1652+

continueFromCurrentTranscript();

16491653

} else if (

16501654

params.currentMessageId !== undefined &&

16511655

params.currentMessageId === lastPersistedCurrentMessageId

@@ -1696,7 +1700,7 @@ export async function runEmbeddedPiAgent(

16961700

`[context-overflow-recovery] Truncated ${truncResult.truncatedCount} tool result(s); retrying prompt`,

16971701

);

16981702

if (preflightRecovery?.source === "mid-turn") {

1699-

nextAttemptPromptOverride = MID_TURN_PRECHECK_CONTINUATION_PROMPT;

1703+

continueFromCurrentTranscript();

17001704

}

17011705

continue;

17021706

}