Skip to content

Commit b7baef3

Browse files
committed
change message when no ai provider is configured
1 parent b78b354 commit b7baef3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

swirl/views_helpers/search_rag.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def get_rag_result(self) -> tuple[str, dict[str, str]]:
6262
if rag_processor.validate():
6363
result = rag_processor.process(should_return=True)
6464
if result == 0:
65-
return "API key is required to initialize AIClient"
65+
return "Please check the OpenAI or Azure/OpenAI credentials in your environment."
6666

6767
if self.search_id in instances:
6868
del instances[self.search_id]

0 commit comments

Comments
 (0)