Skip to content

Conversation

@krissetto
Copy link
Contributor

@krissetto krissetto commented Jan 6, 2026

/model changing in the TUI

Let's decide if we like the approach first, please give it a try :)

Some info:

  • Allows changing the model of the agent you're chatting with with a /model command or with ctrl+m;
  • Includes all models defined in the yaml, both in the models section and inline in agents, along with the option of typing in a custom model using the shorthand provider/model syntax. Supports defining custom alloyed models as well;
  • Changed models get persisted to the session for future use when reloaded with the /sessions command;
  • (default) is shown next to the model name of the agent defined in the yaml, (current) for the selected model

Screenshots:

Screenshot 2026-01-08 at 12 09 22 Screenshot 2026-01-08 at 12 09 31 Screenshot 2026-01-08 at 12 09 39 Screenshot 2026-01-08 at 12 10 53 Screenshot 2026-01-08 at 13 34 53 Screenshot 2026-01-08 at 12 09 51 Screenshot 2026-01-08 at 12 10 27

@krissetto krissetto force-pushed the model-changing-in-tui branch 5 times, most recently from 4ddd965 to caac0c4 Compare January 8, 2026 11:25
@krissetto krissetto changed the title [WIP] Model changing in TUI Model changing in TUI Jan 8, 2026
@krissetto krissetto marked this pull request as ready for review January 8, 2026 11:26
@krissetto krissetto requested a review from a team as a code owner January 8, 2026 11:26
@rumpl
Copy link
Member

rumpl commented Jan 8, 2026

I just tried and was able to type ctrl+m, openai/ and then everything was broken, can we check for the obvious thing/ and /thing mistakes please?

Allows changing the model of the agent you're chatting with with a /model command.

Includes all models defined in the yaml, along with custom models using the shorthand provider/model syntax

Changed models get persisted to the session for future use.

(default) is shown next to the model name of the agent defined in the yaml

Signed-off-by: Christopher Petito <[email protected]>
Signed-off-by: Christopher Petito <[email protected]>
@krissetto krissetto force-pushed the model-changing-in-tui branch from caac0c4 to 6bec2d5 Compare January 8, 2026 12:33
@krissetto
Copy link
Contributor Author

I just tried and was able to type ctrl+m, openai/ and then everything was broken, can we check for the obvious thing/ and /thing mistakes please?

Fixed and added screenshot

@dgageot dgageot merged commit 0754abf into docker:main Jan 8, 2026
5 checks passed
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.

3 participants