Просмотр исходного кода

chore(llm_node): remove unnecessary type ignore for context assignment (#10216)

-LAN- 8 месяцев назад
Родитель
Сommit
8b5ea39916
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      api/core/workflow/nodes/llm/node.py

+ 1 - 1
api/core/workflow/nodes/llm/node.py

@@ -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)