This commit is contained in:
2026-03-29 02:57:21 +08:00
parent 3792606cf9
commit 8802e9b226
4 changed files with 19 additions and 6 deletions
+2 -2
View File
@@ -7,7 +7,7 @@ client = OpenAI(
# 聊天完成
response = client.chat.completions.create(
model="/opt/model/Qwen3-Next-80B-A3B-Instruct-AWQ-4bit",
model="Qwen3-Next-80B-A3B-Instruct-AWQ-4bit",
messages=[
{"role": "system", "content": "You are a helpful assistant."},
{"role": "user", "content": "你好,请介绍一下你自己"}
@@ -16,4 +16,4 @@ response = client.chat.completions.create(
temperature=0.7
)
print(response.choices[0].message.content)
print(response.choices[0].message.content)