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

fix: add missing import for llm template (#26)

eux месяцев назад: 5
Родитель
Сommit
0636968f84
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      cmd/commandline/plugin/templates/python/llm.py

+ 1 - 0
cmd/commandline/plugin/templates/python/llm.py

@@ -2,6 +2,7 @@ import logging
 from collections.abc import Generator
 from typing import Optional, Union
 
+from dify_plugin import LargeLanguageModel
 from dify_plugin.entities import I18nObject
 from dify_plugin.errors.model import (
     CredentialsValidateFailedError,