mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-18 19:29:11 -05:00
Feat: Set default loaded model if OpenAI endpoint lists a loaded model #1135
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @bartowski1182 on GitHub (Jun 5, 2024).
I've been using tabbyAPI, and particularly I've included in the completion endpoint the ability to set the loaded model before answering.
This makes the default new-chat option a bit more difficult since I would prefer it auto-select the already loaded model, and I can change if if needed
So it would be nice if, when opening a new chat, the code checked if the OpenAI endpoint offers a /model endpoint, and if it does and returns a model, it should be set as the current model