Skip to content

Add chat /model command#412

Open
SGospodinov wants to merge 5 commits intoeditor-code-assistant:masterfrom
SGospodinov:master
Open

Add chat /model command#412
SGospodinov wants to merge 5 commits intoeditor-code-assistant:masterfrom
SGospodinov:master

Conversation

@SGospodinov
Copy link
Copy Markdown

@SGospodinov SGospodinov commented Apr 14, 2026

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 added a entry in changelog under unreleased section.
  • This is not an AI slop.

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.

SGospodinov and others added 3 commits April 14, 2026 22:33
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>
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])
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why we need the changes in this file? it doesn't look it's related to the feature of this PR

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.

2 participants