Skip to content

Commit 405b704

Browse files
laipz8200Yeuoly
authored andcommitted
chore(llm_node): remove unnecessary type ignore for context assignment (#10216)
1 parent f38abaa commit 405b704

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/core/workflow/nodes/llm/node.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ def _run(self) -> NodeRunResult | Generator[NodeEvent | InNodeEvent, None, None]
103103
yield event
104104

105105
if context:
106-
node_inputs["#context#"] = context # type: ignore
106+
node_inputs["#context#"] = context
107107

108108
# fetch model config
109109
model_instance, model_config = self._fetch_model_config(self.node_data.model)

0 commit comments

Comments
 (0)