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

This commit is contained in:
-LAN- 2024-11-04 15:22:31 +08:00 committed by Joel
parent e90a06a7b7
commit 565a0d992a

View File

@ -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)