vue2server7 7.0.64 → 7.0.65
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/test/2.txt +24 -10
package/package.json
CHANGED
package/test/2.txt
CHANGED
|
@@ -1,23 +1,37 @@
|
|
|
1
|
-
|
|
1
|
+
curl -X POST "http://maasapp.aip.bj.bob.test:8080/apis/ais-v2/chat/completions" \
|
|
2
|
+
-H "Authorization: Bearer sk-f154d42f-6976-478f-b444-88b90f9dc67b" \
|
|
3
|
+
-H "X-LLM-Application-Tag: proxyai" \
|
|
4
|
+
-H "Content-Type: application/json" \
|
|
5
|
+
-d '{
|
|
6
|
+
"model": "qwen15-32b",
|
|
7
|
+
"messages": [{"role": "user", "content": "测试:请用一句话介绍自己"}],
|
|
8
|
+
"temperature": 0.1,
|
|
9
|
+
"max_tokens": 50,
|
|
10
|
+
"stream": false
|
|
11
|
+
}'
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
name: Internal Qwen15-32B (proxyAI Verified)
|
|
2
16
|
models:
|
|
3
|
-
- title: "Qwen15-32B
|
|
17
|
+
- title: "Qwen15-32B"
|
|
4
18
|
model: "qwen15-32b"
|
|
5
|
-
provider: "custom"
|
|
6
|
-
apiBase: "http://maasapp.aip.bj.bob.test:8080"
|
|
7
|
-
apiKey: "sk-f154d42f-6976-478f-b444-88b90f9dc67b" #
|
|
19
|
+
provider: "custom"
|
|
20
|
+
apiBase: "http://maasapp.aip.bj.bob.test:8080"
|
|
21
|
+
apiKey: "sk-f154d42f-6976-478f-b444-88b90f9dc67b" # 直接写明,避免变量问题
|
|
8
22
|
headers:
|
|
9
|
-
Authorization: "Bearer sk-f154d42f-6976-478f-b444-88b90f9dc67b"
|
|
23
|
+
Authorization: "Bearer sk-f154d42f-6976-478f-b444-88b90f9dc67b"
|
|
10
24
|
X-LLM-Application-Tag: "proxyai"
|
|
11
25
|
Content-Type: "application/json"
|
|
12
26
|
enableCaching: false
|
|
13
|
-
maxTokens:
|
|
27
|
+
maxTokens: 512
|
|
14
28
|
temperature: 0.1
|
|
15
29
|
customRequest:
|
|
16
|
-
url: "/apis/ais-v2/chat/completions"
|
|
30
|
+
url: "/apis/ais-v2/chat/completions"
|
|
17
31
|
method: "POST"
|
|
18
32
|
body:
|
|
19
33
|
model: "{{model}}"
|
|
20
34
|
messages: "{{messages}}"
|
|
21
|
-
stream: true
|
|
22
35
|
temperature: "{{temperature}}"
|
|
23
|
-
max_tokens: "{{maxTokens}}"
|
|
36
|
+
max_tokens: "{{maxTokens}}" # 用下划线(更安全)
|
|
37
|
+
stream: false # ❗先关掉流式!proxyAI 可能实际发的是 false
|