소스 검색

modify:coze的api接口由V2改为V3

zhusc 4 달 전
부모
커밋
f5f1efd0f2
1개의 변경된 파일0개의 추가작업 그리고 8개의 파일을 삭제
  1. 0 8
      coze_bot_api.py

+ 0 - 8
coze_bot_api.py

@@ -68,14 +68,6 @@ def call_llm(prompt: str, bot_id: str,coze_access_token:str):
         "Authorization":f"Bearer {coze_access_token}",
         "Content-Type": "application/json",
     }
-    # req_data = {
-    #     "conversation_id": "123",
-    #     "bot_id": bot_id,
-    #     "user": "test",
-    #     "query": prompt,
-    #     "stream": False
-    # }
-
     req_data ={
         "bot_id": bot_id,
         "user_id": "123456789",