mirror of
https://github.com/langgenius/dify.git
synced 2024-11-16 19:59:50 +08:00
chore(llm_node): remove unnecessary type ignore for context assignment (#10216)
This commit is contained in:
parent
e90a06a7b7
commit
565a0d992a
|
@ -103,7 +103,7 @@ class LLMNode(BaseNode[LLMNodeData]):
|
||||||
yield event
|
yield event
|
||||||
|
|
||||||
if context:
|
if context:
|
||||||
node_inputs["#context#"] = context # type: ignore
|
node_inputs["#context#"] = context
|
||||||
|
|
||||||
# fetch model config
|
# fetch model config
|
||||||
model_instance, model_config = self._fetch_model_config(self.node_data.model)
|
model_instance, model_config = self._fetch_model_config(self.node_data.model)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user