AgnesAI-Models icon indicating copy to clipboard operation
AgnesAI-Models copied to clipboard

[Bug]: ● API Error: Content block not found Warning tip in claude cli.

Open Dalingbao opened this issue 2 months ago • 1 comments

Summary

When I use agnes text model in claude, it will pop up ● API Error: Content block not found Warning tip frequently. But it seems like it doesn't affect usage.

Steps to reproduce

  1. Settings agnes api in claude cli.
  2. Start up a conversation.

Expected behavior

no warning tips

Actual behavior

warning :● API Error: Content block not found

Environment

ubuntu 22.04

Dalingbao avatar Sep 09 '26 02:09 Dalingbao

Thanks for the report — we reproduced it. It's a non-fatal warning emitted by the Claude client, not an API failure: our /v1/messages streaming response currently omits the message_delta event, so the client never receives stop_reason / final usage and logs Content block not found while still rendering the full answer. Everything else (tool calls, thinking blocks, content blocks) is spec-compliant. No action needed on your side; you can ignore the warning.

zhenduanxuan123 avatar Nov 09 '26 08:11 zhenduanxuan123