Jelajahi Sumber

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

luojunhui 1 bulan lalu
induk
melakukan
92464f9e7a
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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"),