Improve error message when semantic search is not enabled with genai (#14528)

This commit is contained in:
Josh Hawkins
2024-10-23 06:14:50 -06:00
committed by GitHub
parent fc59c83e16
commit 7afc1e9762
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1015,7 +1015,7 @@ def regenerate_description(
content=(
{
"success": False,
"message": "Semantic search and generative AI are not enabled",
"message": "Semantic Search and Generative AI must be enabled to regenerate a description",
}
),
status_code=400,