Expected behavior: Provider returns no output after tool error (finish: unknown, tokens: 0) #3032

Closed
opened 2026-02-16 17:38:19 -05:00 by yindo · 2 comments
Owner

Originally created by @limoncello on GitHub (Nov 21, 2025).

Originally assigned to: @thdxr on GitHub.

Question

Should opencode detect when a provider returns no output (finish: unknown, tokens: 0) as a silent failure, or is this expected behavior that wrappers should handle?

Originally created by @limoncello on GitHub (Nov 21, 2025). Originally assigned to: @thdxr on GitHub. ### Question Should opencode detect when a provider returns no output (finish: unknown, tokens: 0) as a silent failure, or is this expected behavior that wrappers should handle?
yindo closed this issue 2026-02-16 17:38:19 -05:00
Author
Owner

@rekram1-node commented on GitHub (Nov 21, 2025):

There is something weird with finish reason unknown... Im not really sure what it is but we have a bug

@rekram1-node commented on GitHub (Nov 21, 2025): There is something weird with finish reason unknown... Im not really sure what it is but we have a bug
Author
Owner

@rekram1-node commented on GitHub (Nov 23, 2025):

Should be fixed

@rekram1-node commented on GitHub (Nov 23, 2025): Should be fixed
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#3032