소스 검색

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"),