Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
fix: number variable cause type error in openai moderation (#5222)
reroreroc6b791d07068
diff --git a/api/core/moderation/openai_moderation/openai_moderation.py b/api/core/moderation/openai_moderation/openai_moderation.pyindex bc868c2d524..fee51007ebe 100644--- a/api/core/moderation/openai_moderation/openai_moderation.py+++ b/api/core/moderation/openai_moderation/openai_moderation.py@@ -41,7 +41,7 @@ class OpenAIModeration(Moderation):return ModerationOutputsResult(flagged=flagged, action=ModerationAction.DIRECT_OUTPUT, preset_response=preset_response)def _is_violated(self, inputs: dict):- text = '\n'.join(inputs.values())+ text = '\n'.join(str(inputs.values()))model_manager = ModelManager()model_instance = model_manager.get_model_instance(tenant_id=self.tenant_id,