mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-14 06:05:51 +08:00
chore(llm_node): remove unnecessary type ignore for context assignment (#10216)
This commit is contained in:
parent
1024fc623e
commit
8b5ea39916
@ -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…
x
Reference in New Issue
Block a user