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
fix: use f-string with separator in switch operator error message (#13915)
Ricardo-M-L354108922b70
diff --git a/agent/component/switch.py b/agent/component/switch.pyindex 85e6cd03ba..cf9956bdf7 100644--- a/agent/component/switch.py+++ b/agent/component/switch.py@@ -134,7 +134,7 @@ class Switch(ComponentBase, ABC):except Exception:return True if input <= value else False- raise ValueError('Not supported operator' + operator)+ raise ValueError(f'Not supported operator: {operator}')def thoughts(self) -> str:return "I’m weighing a few options and will pick the next step shortly."