mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-16 11:57:51 +01:00
refac
This commit is contained in:
@@ -935,7 +935,6 @@ app.mount("/api/v1", webui_app)
|
|||||||
webui_app.state.EMBEDDING_FUNCTION = retrieval_app.state.EMBEDDING_FUNCTION
|
webui_app.state.EMBEDDING_FUNCTION = retrieval_app.state.EMBEDDING_FUNCTION
|
||||||
|
|
||||||
|
|
||||||
@cached(ttl=1)
|
|
||||||
async def get_all_base_models():
|
async def get_all_base_models():
|
||||||
open_webui_models = []
|
open_webui_models = []
|
||||||
openai_models = []
|
openai_models = []
|
||||||
|
|||||||
Reference in New Issue
Block a user