Do not leak the chat "workspace" term

This commit is contained in:
Kerollmops
2025-06-10 10:34:30 +02:00
parent 95d4775d4a
commit 605dea4f85
4 changed files with 7 additions and 7 deletions

View File

@ -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,
))
}
};