初始化提交

This commit is contained in:
2025-12-14 15:40:49 +08:00
commit 410b2f068d
72 changed files with 10460 additions and 0 deletions

17
tests/test1.py Normal file
View File

@@ -0,0 +1,17 @@
import requests
url = "http://localhost:5000/v1/chat/completions"
headers = {
"Authorization": "Bearer sk_ie2F3ZF2ZOt8dxwKCQglce3JTKFqYay5",
"Content-Type": "application/json"
}
data = {
"model": "deepseek-chat",
"messages": [
{"role": "user", "content": "给我完整的输出滕王阁序"}
],
"stream": False
}
response = requests.post(url, headers=headers, json=data)
print(response.json())