Skip to content

feat(chat): enhance /model command functionality for direct model selection #452

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

AarushSah
Copy link

This update allows users to switch to a specific model directly using the /model command. If no model name is provided, the model selection overlay will open. Additionally, the system now validates model availability and restricts model switching after the assistant has sent its first response, providing appropriate feedback for invalid selections.

Changes:

  • Updated /model command description to reflect new functionality.
  • Implemented logic to handle direct model selection and validation in TerminalChatInput and TerminalChat components.
  • Added user feedback for model switching restrictions and invalid model notifications.

…ection

This update allows users to switch to a specific model directly using the /model <model-name> command. If no model name is provided, the model selection overlay will open. Additionally, the system now validates model availability and restricts model switching after the assistant has sent its first response, providing appropriate feedback for invalid selections.

Changes:
- Updated /model command description to reflect new functionality.
- Implemented logic to handle direct model selection and validation in TerminalChatInput and TerminalChat components.
- Added user feedback for model switching restrictions and invalid model notifications.
Copy link

github-actions bot commented Apr 21, 2025

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@AarushSah
Copy link
Author

I have read the CLA Document and I hereby sign the CLA

github-actions bot added a commit that referenced this pull request Apr 21, 2025
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