aixxai 1.7.24 → 1.7.25
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/src/utils/agentconfig.js +4 -4
package/package.json
CHANGED
package/src/utils/agentconfig.js
CHANGED
|
@@ -131,7 +131,7 @@ function buildClaudeModels() {
|
|
|
131
131
|
}
|
|
132
132
|
|
|
133
133
|
/**
|
|
134
|
-
* AIXX-OpenAI 供应商的模型清单(OpenAI
|
|
134
|
+
* AIXX-OpenAI 供应商的模型清单(OpenAI协议,调GLM/Kimi等多模型)
|
|
135
135
|
*/
|
|
136
136
|
function buildOpenaiModels() {
|
|
137
137
|
return {
|
|
@@ -165,7 +165,7 @@ function buildClaudeProvider(apiKey) {
|
|
|
165
165
|
*/
|
|
166
166
|
function buildOpenaiProvider(apiKey) {
|
|
167
167
|
return {
|
|
168
|
-
name: 'AIXX(
|
|
168
|
+
name: 'AIXX(国产·多模型)',
|
|
169
169
|
kind: 'openai',
|
|
170
170
|
options: {
|
|
171
171
|
apiKey,
|
|
@@ -257,12 +257,12 @@ export function configureZCode(apiKey) {
|
|
|
257
257
|
existing.models = buildOpenaiModels();
|
|
258
258
|
existing.kind = 'openai';
|
|
259
259
|
existing[MANAGED_FLAG] = 'openai';
|
|
260
|
-
console.log(' ✏️ 更新已有AIXX(
|
|
260
|
+
console.log(' ✏️ 更新已有AIXX(国产·多模型)供应商(key已刷新)');
|
|
261
261
|
updated++;
|
|
262
262
|
} else {
|
|
263
263
|
const newKey = `aixx-openai-${randomUUID()}`;
|
|
264
264
|
config.provider[newKey] = buildOpenaiProvider(apiKey);
|
|
265
|
-
console.log(' ➕ 新增AIXX(
|
|
265
|
+
console.log(' ➕ 新增AIXX(国产·多模型)供应商');
|
|
266
266
|
updated++;
|
|
267
267
|
}
|
|
268
268
|
|