From 050162cb0f8677c299757b7dc029539761aa93b2 Mon Sep 17 00:00:00 2001 From: liuwei Date: Fri, 28 Feb 2025 16:49:43 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E4=B8=BA=E8=B1=86=E5=8C=85?= =?UTF-8?q?=EF=BC=8C=E6=9C=AC=E5=9C=B0=E6=8E=A5=E5=8F=A3=E5=B7=B2=E5=BA=9F?= =?UTF-8?q?=E5=BC=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- game_task/game_chatgpt_qa.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/game_task/game_chatgpt_qa.py b/game_task/game_chatgpt_qa.py index 89059ef..5db19b9 100644 --- a/game_task/game_chatgpt_qa.py +++ b/game_task/game_chatgpt_qa.py @@ -16,12 +16,12 @@ def extract_content(data_string): def message_task_json(prompt, content): # 设置Authorization和URL - authorization = "46a5674a-e978-491b-a810-5d54605f2c36" # 请替换为真实的Authorization token - url = 'http://127.0.0.1:8080/v1/chat/completions' + authorization = "Bearer b8586595-eb81-483d-8e91-a35cc789729e" # 请替换为真实的Authorization token + url = 'https://ark.cn-beijing.volces.com/api/v3/chat/completions' data = { # "stream": True, - "model": "windsurf/gpt4o", + "model": "doubao-1-5-lite-32k-250115", "messages": [ { "role": "system",