mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-11-19 15:23:20 +00:00
Improve error message when semantic search is not enabled with genai (#14528)
This commit is contained in:
1 parent
fc59c83e16
commit
7afc1e9762
2 files changed
+3
-3
No files matched your search
@@ -368,9 +368,9 @@ function ObjectDetailsTab({
|
||||
);
|
||||
}
|
||||
})
|
||||
.catch(() => {
|
||||
.catch((error) => {
|
||||
toast.error(
|
||||
`Failed to call ${capitalizeAll(config?.genai.provider.replaceAll("_", " ") ?? "Generative AI")} for a new description`,
|
||||
`Failed to call ${capitalizeAll(config?.genai.provider.replaceAll("_", " ") ?? "Generative AI")} for a new description: ${error.response.data.message}`,
|
||||
{
|
||||
position: "top-center",
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user