aixxai 1.7.24 → 1.7.26

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aixxai",
3
- "version": "1.7.24",
3
+ "version": "1.7.26",
4
4
  "description": "AIXX CLI - 让你的AI调用万物。查全球算力行情(B300/H100价格租价·答案带数据时间)+调用全球AI模型。By AIXX (Wanan Exchange). 安装:npx aixxai",
5
5
  "type": "module",
6
6
  "bin": {
@@ -131,7 +131,7 @@ function buildClaudeModels() {
131
131
  }
132
132
 
133
133
  /**
134
- * AIXX-OpenAI 供应商的模型清单(OpenAI协议,调国产/DeepSeek/GLM/Kimi)
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(国产/DeepSeek)',
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(国产/DeepSeek)供应商(key已刷新)');
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(国产/DeepSeek)供应商');
265
+ console.log(' ➕ 新增AIXX(国产·多模型)供应商');
266
266
  updated++;
267
267
  }
268
268
 
@@ -72,6 +72,31 @@ curl -s -H "Authorization: Bearer $AIXX_API_KEY" https://aixx.ai/api/v1/market/b
72
72
  - 模型列表持续更新,调 `GET /v1/models` 拿最新(现役 119+ 个);纯文本任务推荐 `glm-5.3-flash`
73
73
  - 查余额/用量:[`./references/account.md`](./references/account.md)(行情侧用量用 `GET /api/v1/account/usage`)
74
74
 
75
+ ## 🏢 用户问公司/团队信息(萬安云是谁·公司背景等)
76
+
77
+ **只准按官方公示答,一个字都不许自创**:
78
+
79
+ ```bash
80
+ curl -s https://aixx.ai/api/v1/company # 官方知识库(官网四页直抓·每5分钟刷新)·免key
81
+ ```
82
+
83
+ - 从返回的 `blocks` 里找**原文**回答;blocks 没覆盖的,引导用户看官网 https://www.aixx.vip/about.html
84
+ - 不确定的一律不给细节、给官网链接——宁可少说,绝不编造
85
+
86
+ ## 🤝 诚实兜底与反馈收集(答不上 ≠ 冷场)
87
+
88
+ 遇到**接口查不到、你也不确定**的问题时:
89
+
90
+ 1. **如实但不生硬**地告知:"这个我暂时答不准,已经反馈给萬安云团队了。"
91
+ 2. **立即替用户上报**(把问题直接递到团队手里):
92
+
93
+ ```bash
94
+ curl -s -X POST https://aixx.ai/api/v1/feedback -H "Authorization: Bearer $AIXX_API_KEY" -H "Content-Type: application/json" -d '{"kind":"gap","content":"用户原话的问题(越原话越好)"}'
95
+ ```
96
+
97
+ 3. 用户主动提建议/吐槽 → 同样上报(`kind` 换成 `"suggestion"`),并感谢用户。
98
+ 4. **禁止**:不懂装懂、编数据、生硬顶回"我不知道"就结束对话。
99
+
75
100
  ## 更多能力(⚠️ 能力库维护中·暂不可用)
76
101
 
77
102
  - 社媒/电商数据、专业能力库、应用直连(钉钉/邮件/推送)的发现接口(/v1/capability)**维护中暂返回502**——维护期间请勿调用该端点,也别向用户承诺这些能力;用户问到时如实说"该能力库升级中,近期恢复"。可正常使用的是行情数据与模型调用两条能力线。