Skip to content

🦋 New version release#192

Merged
brentrager merged 1 commit into
mainfrom
changeset-release/main
Jul 8, 2026
Merged

🦋 New version release#192
brentrager merged 1 commit into
mainfrom
changeset-release/main

Conversation

@brentrager

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@smooai/smooth-operator@1.22.1

Patch Changes

  • 17e1ad9: Fix intermittently empty eventual_response on the streaming turn (blank responseParts + dropped suggestedNextActions) even though the full reply streamed and persisted.

    The runner sourced the final reply from Conversation::last_assistant_content(). On reasoning models (e.g. groq-gpt-oss-120b) a turn can end on a tool-call or reasoning-only assistant entry whose content is empty, so that returned "" — shipping an empty eventual_response and losing the parsed suggestions.

    rust/smooth-operator-server/src/runner.rs: accumulate THIS turn's raw streamed answer tokens (pre-suppressor, reasoning excluded — identical to the engine's assistant content) and fall back to it when last_assistant_content() is empty. The suggested-replies trailer is preserved in the fallback so extract_suggested_replies strips it and recovers the suggestions exactly as on the normal path. The non-empty path is byte-for-byte unchanged.

@brentrager
brentrager merged commit c15c7dc into main Jul 8, 2026
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