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: Azure AI Foundry model cannot be used in the workflow (#13323)
-LAN-f9515901ccc1
diff --git a/api/core/model_runtime/entities/llm_entities.py b/api/core/model_runtime/entities/llm_entities.pyindex 88531d8ae00..4523da43881 100644--- a/api/core/model_runtime/entities/llm_entities.py+++ b/api/core/model_runtime/entities/llm_entities.py@@ -1,5 +1,5 @@from decimal import Decimal-from enum import Enum+from enum import StrEnumfrom typing import Optionalfrom pydantic import BaseModel@@ -8,7 +8,7 @@ from core.model_runtime.entities.message_entities import AssistantPromptMessage,from core.model_runtime.entities.model_entities import ModelUsage, PriceInfo-class LLMMode(Enum):+class LLMMode(StrEnum):"""Enum class for large language model mode."""diff --git a/api/core/workflow/nodes/llm/entities.py b/api/core/workflow/nodes/llm/entities.pyindex 505068104c2..d6fff2a793d 100644--- a/api/core/workflow/nodes/llm/entities.py+++ b/api/core/workflow/nodes/llm/entities.py@@ -4,6 +4,7 @@ from typing import Any, Optionalfrom pydantic import BaseModel, Field, field_validatorfrom core.model_runtime.entities import ImagePromptMessageContent+from core.model_runtime.entities.llm_entities import LLMModefrom core.prompt.entities.advanced_prompt_entities import ChatModelMessage, CompletionModelPromptTemplate, MemoryConfigfrom core.workflow.entities.variable_entities import VariableSelectorfrom core.workflow.nodes.base import BaseNodeData@@ -12,7 +13,7 @@ from core.workflow.nodes.base import BaseNodeDataclass ModelConfig(BaseModel):provider: strname: str- mode: str+ mode: LLMMode = LLMMode.COMPLETIONcompletion_params: dict[str, Any] = {}