浏览代码

Merge branch 'feature/luojunhui/2025-08-04-auto-add-toutiao-accounts' of Server/LongArticleTaskServer into master

luojunhui 3 月之前
父节点
当前提交
92464f9e7a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      applications/api/deep_seek_official_api.py

+ 1 - 1
applications/api/deep_seek_official_api.py

@@ -18,7 +18,7 @@ def fetch_deepseek_completion(
     output_type: str = "text",
     tool_calls: bool = False,
     tools: List[Dict] = None,
-) -> Optional[Dict, List]:
+) -> Optional[Dict | List]:
     messages = [{"role": "user", "content": prompt}]
     kwargs = {
         "model": deep_seek_official_model.get(model, "deepseek-chat"),