mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-09-06 04:36:32 +00:00
Do not leak the chat "workspace" term
This commit is contained in:
@ -321,7 +321,7 @@ async fn non_streamed_chat(
|
||||
None => {
|
||||
return Err(ResponseError::from_msg(
|
||||
format!("Chat `{workspace_uid}` not found"),
|
||||
Code::ChatWorkspaceNotFound,
|
||||
Code::ChatNotFound,
|
||||
))
|
||||
}
|
||||
};
|
||||
@ -419,7 +419,7 @@ async fn streamed_chat(
|
||||
None => {
|
||||
return Err(ResponseError::from_msg(
|
||||
format!("Chat `{workspace_uid}` not found"),
|
||||
Code::ChatWorkspaceNotFound,
|
||||
Code::ChatNotFound,
|
||||
))
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user