Add chat /model command#412
Open
SGospodinov wants to merge 5 commits intoeditor-code-assistant:masterfrom
Open
Add chat /model command#412SGospodinov wants to merge 5 commits intoeditor-code-assistant:masterfrom
/model command#412SGospodinov wants to merge 5 commits intoeditor-code-assistant:masterfrom
Conversation
Let users switch current chat model directly from slash commands, while keeping model selection synced with client state and preserving chat-level variant behavior across prompts and forks. 🤖 Generated with [eca](https://eca.dev) Co-Authored-By: eca-agent <git@eca.dev>
ericdallo
reviewed
Apr 14, 2026
| new-id)) | ||
| selected-agent (config/validate-agent-name raw-agent config) | ||
| agent-config (get-in config [:agent selected-agent]) | ||
| chat-state (get-in @db* [:chats chat-id]) |
Member
There was a problem hiding this comment.
why we need the changes in this file? it doesn't look it's related to the feature of this PR
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.
Let users switch current chat model directly from slash commands, while keeping model selection synced with client state and preserving chat-level variant behavior across prompts and forks.
🤖 Generated with eca
Co-Authored-By: eca-agent git@eca.dev
I ran the test did manual testing for the compiled server to validate the results and it seems to be working as intended, but the code is generated using the ECA agent. Cannot guarantee that results are not slop. I'm new to the ECA project and Clojure and I'm using the PR to gauge the interest in the feature and to learn more about the way ECA work. Will understand if the PR gets closed because the human input was low and the code doesn't match the necessary standards.