GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — ACP adapter returns end_turn even when assistant message has internal error · Issue #24494 · anomalyco/opencode Closed Closed Copy link DescriptionSummaryThe ACP adapter appears to return a successful This was observed while testing with Fabriqa / Fabriqa.ai acting as the ACP client. Fabriqa finalized the turn from the ACP This is problematic for ACP clients because Why this mattersACP clients communicate with the agent over JSON-RPC. Stderr/logs are diagnostic only and should not be required for correctness. If a ACP references:
Source-level evidenceIn ctx.assistantMessage.error = error yield* bus.publish(Session.Event.Error, { sessionID: ctx.assistantMessage.sessionID, error: ctx.assistantMessage.error, }) But in const response = await this.sdk.session.prompt(...) const msg = response.data?.info await sendUsageUpdate(...) return { stopReason: "end_turn" as const, usage: msg ? buildUsage(msg) : undefined, _meta: {}, } So an assistant message with Expected behaviorIf It should either:
Additionally, the adapter should guarantee that all pending ImpactClients such as Fabriqa, agent-shell, or other ACP hosts may finalize the turn as successful before receiving the actual content or before learning that the turn failed. In the provider-error case, this can produce a blank assistant response with no visible error. P.S. This report and issue is AI generated but not AI slop. It was manually reviewed by a human over long turns and checked against local logs/source to ensure this is a valid issue. Reacted by Chris and axel7083 Activity
MetadataMetadataAssigneesLabelsNo labels TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |