@shun-js/aibaiban-server 0.8.2 → 0.8.3
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 +2 -2
- package/server/util/llm-agent.js +3 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shun-js/aibaiban-server",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.3",
|
|
4
4
|
"description": "aibaiban.com server",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ai aibaiban"
|
|
@@ -44,5 +44,5 @@
|
|
|
44
44
|
"access": "public",
|
|
45
45
|
"registry": "https://registry.npmjs.org/"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "331bc8dc9ccfa3de0ea2c3c7326301f660cab528"
|
|
48
48
|
}
|
package/server/util/llm-agent.js
CHANGED
|
@@ -5,9 +5,9 @@ const { OpenAIAPI } = require('viho-llm');
|
|
|
5
5
|
* LLM 配置 - 使用 moonshot 平台的 kimi-k2.5
|
|
6
6
|
*/
|
|
7
7
|
const llmConfig = {
|
|
8
|
-
apiKey: global.QZ_CONFIG.kimi.
|
|
9
|
-
baseURL: global.QZ_CONFIG.kimi.
|
|
10
|
-
modelName: global.QZ_CONFIG.kimi.
|
|
8
|
+
apiKey: global.QZ_CONFIG.kimi.apiKey,
|
|
9
|
+
baseURL: global.QZ_CONFIG.kimi.baseURL,
|
|
10
|
+
modelName: global.QZ_CONFIG.kimi.modelID,
|
|
11
11
|
};
|
|
12
12
|
|
|
13
13
|
const llm = OpenAIAPI(llmConfig);
|