mirror of
https://github.com/open-webui/open-webui
synced 2024-11-16 05:24:02 +00:00
commit
fc6fa7887b
@ -376,7 +376,7 @@ async def update_reranking_config(
|
|||||||
try:
|
try:
|
||||||
app.state.config.RAG_RERANKING_MODEL = form_data.reranking_model
|
app.state.config.RAG_RERANKING_MODEL = form_data.reranking_model
|
||||||
|
|
||||||
update_reranking_model(app.state.config.RAG_RERANKING_MODEL), True
|
update_reranking_model(app.state.config.RAG_RERANKING_MODEL, True)
|
||||||
|
|
||||||
return {
|
return {
|
||||||
"status": True,
|
"status": True,
|
||||||
|
Loading…
Reference in New Issue
Block a user