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: fix azure open-4o-08-06 when enable json schema cant process content = "" (#11204)
liujiamingtiny6f9ce6a1990e
diff --git a/api/core/model_runtime/model_providers/azure_openai/llm/llm.py b/api/core/model_runtime/model_providers/azure_openai/llm/llm.pyindex 95c8f36271e..c5d7a83a4ee 100644--- a/api/core/model_runtime/model_providers/azure_openai/llm/llm.py+++ b/api/core/model_runtime/model_providers/azure_openai/llm/llm.py@@ -598,6 +598,9 @@ class AzureOpenAILargeLanguageModel(_CommonAzureOpenAI, LargeLanguageModel):# message = cast(AssistantPromptMessage, message)message_dict = {"role": "assistant", "content": message.content}if message.tool_calls:+ # fix azure when enable json schema cant process content = "" in assistant fix with None+ if not message.content:+ message_dict["content"] = Nonemessage_dict["tool_calls"] = [helper.dump_model(tool_call) for tool_call in message.tool_calls]elif isinstance(message, SystemPromptMessage):message = cast(SystemPromptMessage, message)