vue2server7 7.0.63 → 7.0.64

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/test/2.txt +16 -7
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue2server7",
3
- "version": "7.0.63",
3
+ "version": "7.0.64",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "dev": "nodemon --watch src --ext ts --exec \"ts-node src/app.ts\"",
package/test/2.txt CHANGED
@@ -1,14 +1,23 @@
1
- # ~/.continue/config.yaml
2
-
3
1
  name: Internal Qwen15-32B
4
2
  models:
5
3
  - title: "Qwen15-32B (Internal)"
6
4
  model: "qwen15-32b"
7
- provider: "openai"
8
- apiBase: "http://maasapp.aip.bj.bob.test:8080/apis/ais-v2"
9
- apiKey: "你的实际API密钥" # 替换为 $CUSTOM_SERVICE_API_KEY 的真实值
5
+ provider: "custom" # ✅ 关键:改为 custom
6
+ apiBase: "http://maasapp.aip.bj.bob.test:8080" # 只保留 host:port
7
+ apiKey: "sk-f154d42f-6976-478f-b444-88b90f9dc67b" # 先保留测试
10
8
  headers:
9
+ Authorization: "Bearer sk-f154d42f-6976-478f-b444-88b90f9dc67b" # ✅ 显式写完整 Header
11
10
  X-LLM-Application-Tag: "proxyai"
11
+ Content-Type: "application/json"
12
12
  enableCaching: false
13
- maxTokens: 8192 # 建议先不要设太高,避免服务端 OOM
14
- temperature: 0.1
13
+ maxTokens: 8192
14
+ temperature: 0.1
15
+ customRequest:
16
+ url: "/apis/ais-v2/chat/completions" # ✅ 完整路径
17
+ method: "POST"
18
+ body:
19
+ model: "{{model}}"
20
+ messages: "{{messages}}"
21
+ stream: true
22
+ temperature: "{{temperature}}"
23
+ max_tokens: "{{maxTokens}}"