Skip to content

armgit / dify

Public Imported from GitHub
0

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.

chore(llm_node): remove unnecessary type ignore for context assignment (#10216)

-LAN-8b5ea399168e
diff --git a/api/core/workflow/nodes/llm/node.py b/api/core/workflow/nodes/llm/node.py
index b4728e6abf6..bb9290ddc2d 100644
--- a/api/core/workflow/nodes/llm/node.py
+++ b/api/core/workflow/nodes/llm/node.py
@@ -103,7 +103,7 @@ class LLMNode(BaseNode[LLMNodeData]):
yield event
if context:
- node_inputs["#context#"] = context # type: ignore
+ node_inputs["#context#"] = context
# fetch model config
model_instance, model_config = self._fetch_model_config(self.node_data.model)