这是indexloc提供的服务,不要输入任何密码
Skip to content

Enable UI/UX for model swapping in chat window #3969

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

Merged
merged 10 commits into from
Jun 9, 2025

Conversation

timothycarambat
Copy link
Member

@timothycarambat timothycarambat commented Jun 6, 2025

Pull Request Type

  • ✨ feat
  • 🐛 fix
  • ♻️ refactor
  • 💄 style
  • 🔨 chore
  • 📝 docs

Relevant Issues

resolves #2095

What is in this change?

  • Enable model swapping for the workspace model in chat
  • Chat open with cmd/ctrl + Shift + L when in workspace menu (need to do again to dismiss)
  • Can also hover over icon in ui to show popover
  • Ability to search across providers in UI

Additional Information

  • Enables swapping of the workspace model/provider combination
  • Includes a hook to show the config window if provider credentials have not been set up yet
  • Includes light mode styles

Developer Validations

  • I ran yarn lint from the root of the repo & committed changes
  • Relevant documentation has been updated
  • I have tested my code functionality
  • Docker build succeeds locally

Screenshots

Screenshot 2025-06-06 at 2 45 06 PM Screenshot 2025-06-06 at 2 45 26 PM Screenshot 2025-06-06 at 2 45 40 PM Screenshot 2025-06-06 at 2 45 52 PM Screenshot 2025-06-06 at 2 46 01 PM

@timothycarambat timothycarambat marked this pull request as ready for review June 6, 2025 22:47
@timothycarambat timothycarambat added the PR:Ready-to-merge PR has been reviewed by core team and is ready to merge label Jun 6, 2025
@timothycarambat timothycarambat self-assigned this Jun 6, 2025
@timothycarambat timothycarambat merged commit c0d66e6 into master Jun 9, 2025
2 checks passed
@timothycarambat timothycarambat deleted the 2095-model-swap-in-chat branch June 9, 2025 16:59
cabwds pushed a commit to cabwds/anything-llm that referenced this pull request Jul 3, 2025
* Enable UI/UX for model swapping in chat window

* forgot component

* patch useGetProviders hook to set loading on change of provider

* dev build

* normalize translations

* patch how model default is provided

---------

Co-authored-by: shatfield4 <seanhatfield5@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR:Ready-to-merge PR has been reviewed by core team and is ready to merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEAT]: Easily switch LLM models for each request
2 participants