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 Yeuoly
parent f38abaaa6a
commit 405b704f02
No known key found for this signature in database
GPG Key ID: A66E7E320FB19F61

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)