Fix type declaration for the cross_encoder_model state variable. Update name of the new update API

This commit is contained in:
sabaimran
2023-12-21 09:15:13 +05:30
parent 089e4bee12
commit a1211f40d7
3 changed files with 10 additions and 2 deletions

View File

@@ -334,7 +334,7 @@ async def update_chat_model(
@api.post("/config/data/search/model", status_code=200)
@requires(["authenticated"])
async def update_chat_model(
async def update_search_model(
request: Request,
id: str,
client: Optional[str] = None,