Skip to content

Commit

Permalink
chore(llm_node): remove unnecessary type ignore for context assignment (
Browse files Browse the repository at this point in the history
  • Loading branch information
laipz8200 authored Nov 4, 2024
1 parent 1024fc6 commit 8b5ea39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/core/workflow/nodes/llm/node.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def _run(self) -> NodeRunResult | Generator[NodeEvent | InNodeEvent, None, None]
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)
Expand Down

0 comments on commit 8b5ea39

Please sign in to comment.