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 GitHub
parent 1024fc623e
commit 8b5ea39916
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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)