fix(channel): pass model via extra for non-aionrs conversations#298
Merged
Conversation
The conversation service rejects top-level `model` for non-aionrs agent types (acp, openclaw-gateway, nanobot, remote). Channel message service was unconditionally placing model at the top level, causing all non-aionrs channel conversations to fail with a 400 error. Now aionrs keeps model at the top level while all other types pass it through `extra["model"]`.
piorpua
pushed a commit
that referenced
this pull request
May 19, 2026
🤖 I have created a release *beep* *boop* --- ## [0.1.5](v0.1.4...v0.1.5) (2026-05-19) ### Features * **ai-agent:** add cc-switch provider env injection for Claude ACP ([#291](#291)) ([a7b93e7](a7b93e7)) ### Bug Fixes * **channel:** pass model via extra for non-aionrs conversations ([#298](#298)) ([eb65dfe](eb65dfe)) ### Code Refactoring * rename binary from aioncli to aioncore ([#293](#293)) ([ae78cd1](ae78cd1)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
modelat the top level ofCreateConversationRequest, but the conversation service rejects top-levelmodelfor non-aionrs agent types (acp, openclaw-gateway, nanobot, remote) with a 400 error.modelat the top level; all other agent types pass it throughextra["model"].Test plan
cargo clippy -p aionui-channel -- -D warningspassescargo test -p aionui-channel --lib— 204 tests passjust pushpasses (fmt + clippy + full test suite)