vue2server7 7.0.62 → 7.0.63
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 +14 -34
package/package.json
CHANGED
package/test/2.txt
CHANGED
|
@@ -1,34 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
if (isStream) {
|
|
17
|
-
res.setHeader("Content-Type", "text/event-stream");
|
|
18
|
-
res.setHeader("Cache-Control", "no-cache");
|
|
19
|
-
res.setHeader("Connection", "keep-alive");
|
|
20
|
-
|
|
21
|
-
response.data.pipe(res);
|
|
22
|
-
return;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
res.json(response.data);
|
|
26
|
-
|
|
27
|
-
} catch (err) {
|
|
28
|
-
console.error("❌ Gateway Error:", err.message);
|
|
29
|
-
|
|
30
|
-
res.status(500).json({
|
|
31
|
-
error: err.response?.data || err.message
|
|
32
|
-
});
|
|
33
|
-
}
|
|
34
|
-
});
|
|
1
|
+
# ~/.continue/config.yaml
|
|
2
|
+
|
|
3
|
+
name: Internal Qwen15-32B
|
|
4
|
+
models:
|
|
5
|
+
- title: "Qwen15-32B (Internal)"
|
|
6
|
+
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 的真实值
|
|
10
|
+
headers:
|
|
11
|
+
X-LLM-Application-Tag: "proxyai"
|
|
12
|
+
enableCaching: false
|
|
13
|
+
maxTokens: 8192 # 建议先不要设太高,避免服务端 OOM
|
|
14
|
+
temperature: 0.1
|