瀏覽代碼

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

eux 5 月之前
父節點
當前提交
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,