RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.
Go agent-harnessagent-native-databaseagentic-aiagentic-retrievalagentic-searchaiai-agentscontext-enginecontext-engineeringcontext-managementharness-engineeringknowledge-compilationragretrieval-augmented-generationretrieval-harnesssearch-harness
Warning instead of exception on type mismatch (#3523)
Zhichang Yu6be7901df263
diff --git a/api/ragflow_server.py b/api/ragflow_server.pyindex db063da2cf..056f056101 100644--- a/api/ragflow_server.py+++ b/api/ragflow_server.py@@ -14,8 +14,9 @@# limitations under the License.#-from beartype.claw import beartype_packages-beartype_packages(["agent", "api", "deepdoc", "plugins", "rag", "ragflow_sdk"]) # <-- raise exceptions in your code+from beartype import BeartypeConf+from beartype.claw import beartype_all # <-- you didn't sign up for this+beartype_all(conf=BeartypeConf(violation_type=UserWarning)) # <-- emit warnings from all codeimport loggingfrom api.utils.log_utils import initRootLoggerdiff --git a/rag/svr/task_executor.py b/rag/svr/task_executor.pyindex 8a38389d4c..3a0a9302be 100644--- a/rag/svr/task_executor.py+++ b/rag/svr/task_executor.py@@ -13,8 +13,9 @@# See the License for the specific language governing permissions and# limitations under the License.#-from beartype.claw import beartype_packages-beartype_packages(["agent", "api", "deepdoc", "plugins", "rag", "ragflow_sdk"]) # <-- raise exceptions in your code+from beartype import BeartypeConf+from beartype.claw import beartype_all # <-- you didn't sign up for this+beartype_all(conf=BeartypeConf(violation_type=UserWarning)) # <-- emit warnings from all codeimport loggingimport sys