Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

Fix: fix typo in OpenAI error logging message (#8865)

Liu An9e45fcfdb302
diff --git a/rag/llm/chat_model.py b/rag/llm/chat_model.py
index 3ffe03af2a..068871ef0d 100644
--- a/rag/llm/chat_model.py
+++ b/rag/llm/chat_model.py
@@ -124,7 +124,7 @@ class Base(ABC):
return ans + LENGTH_NOTIFICATION_EN
def _exceptions(self, e, attempt):
- logging.exception("OpenAI cat_with_tools")
+ logging.exception("OpenAI chat_with_tools")
# Classify the error
error_code = self._classify_error(e)