Skip to content

Return an empty turn response instead of failing - #67

Merged
vitramir merged 1 commit into
mainfrom
empty-turn-is-not-a-failure
Aug 4, 2026
Merged

Return an empty turn response instead of failing#67
vitramir merged 1 commit into
mainfrom
empty-turn-is-not-a-failure

Conversation

@vitramir

@vitramir vitramir commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

The third and last place the same assumption lived — and the one that actually reaches agynd:

agn_turn failed: no response generated; retrying in 2s

Run required LastAssistant, so a turn that answered by calling SendMessage was reported as failed. agynd replayed the message and the agent sent its reply again on every attempt.

LastAssistant is now referenced in exactly one place (setting it), so there is no fourth copy of this. The two earlier fixes (#65 model returned no content, #66 no assistant response to save) only moved the failure one stage on each time.

Run required assistant text, so a turn that answered with tool calls was
reported to the caller as failed. agynd replayed the message and the
agent sent its reply again on every attempt.
@vitramir
vitramir merged commit 56d19c1 into main Aug 4, 2026
1 of 2 checks passed
@vitramir
vitramir deleted the empty-turn-is-not-a-failure branch August 4, 2026 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant