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(api/core/model_runtime/model_providers/azure_openai/llm/llm.py): Try to skip if `delta.delta` is None. (#6727)
-LAN-83af50368f23
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 34d1f642109..1911caa952b 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@@ -375,6 +375,10 @@ class AzureOpenAILargeLanguageModel(_CommonAzureOpenAI, LargeLanguageModel):continuedelta = chunk.choices[0]+ # NOTE: For fix https://github.com/langgenius/dify/issues/5790+ if delta.delta is None:+ continue+# extract tool calls from responseself._update_tool_calls(tool_calls=tool_calls, tool_calls_response=delta.delta.tool_calls)