chat-agent-toolkit 1.2.187 → 1.2.188

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": "chat-agent-toolkit",
3
- "version": "1.2.187",
3
+ "version": "1.2.188",
4
4
  "description": "Multi-provider AI agent toolkit: generate language responses, search the web, extract content, and manage memory across 10+ LLM providers.",
5
5
  "author": "vtempest <grokthiscontact@gmail.com>",
6
6
  "license": "rights.institute/PROSPER",
@@ -20,7 +20,6 @@ const PROVIDER_KEY_TO_DB_NAME: Record<string, string> = {
20
20
  deepseek: "deepseek",
21
21
  nvidia: "nvidia",
22
22
  openrouter: "openrouter",
23
- anyapi: "anyapi",
24
23
  };
25
24
 
26
25
  /**
@@ -1193,119 +1193,6 @@ export const LANGUAGE_MODELS = [
1193
1193
  },
1194
1194
  ],
1195
1195
  },
1196
- {
1197
- "provider": "AnyAPI",
1198
- "docs": "https://docs.anyapi.ai/get-started/supported-sdks",
1199
- "api_key": "https://anyapi.ai/pricing",
1200
- "default": "deepseek/deepseek-v3:free",
1201
- "models": [
1202
- {
1203
- "name": "LFM2.5 1.2B Instruct",
1204
- "id": "liquidai/lfm2.5-1.2b-instruct:free",
1205
- "contextLength": 32_768,
1206
- "free": true,
1207
- "type": "text"
1208
- },
1209
- {
1210
- "name": "LFM2.5 1.2B Thinking",
1211
- "id": "liquidai/lfm2.5-1.2b-thinking:free",
1212
- "contextLength": 32_768,
1213
- "free": true,
1214
- "type": "text"
1215
- },
1216
- {
1217
- "name": "Trinity Large Preview",
1218
- "id": "arcee-ai/trinity-large-preview:free",
1219
- "contextLength": 128_000,
1220
- "free": true,
1221
- "type": "text"
1222
- },
1223
- {
1224
- "name": "Step 3.5 Flash",
1225
- "id": "stepfun/step-3.5-flash:free",
1226
- "contextLength": 128_000,
1227
- "free": true,
1228
- "type": "text"
1229
- },
1230
- {
1231
- "name": "Kimi K2 0711",
1232
- "id": "moonshotai/kimi-k2-0711:free",
1233
- "contextLength": 128_000,
1234
- "free": true,
1235
- "type": "text"
1236
- },
1237
- {
1238
- "name": "Qwen 2.5 Coder 32B Instruct",
1239
- "id": "qwen/qwen2.5-coder-32b-instruct:free",
1240
- "contextLength": 32_768,
1241
- "free": true,
1242
- "type": "text"
1243
- },
1244
- {
1245
- "name": "Gemma 2 9B",
1246
- "id": "google/gemma-2-9b:free",
1247
- "contextLength": 8_192,
1248
- "free": true,
1249
- "type": "text"
1250
- },
1251
- {
1252
- "name": "Gemma 3 12B",
1253
- "id": "google/gemma-3-12b:free",
1254
- "contextLength": 131_072,
1255
- "free": true,
1256
- "type": "text"
1257
- },
1258
- {
1259
- "name": "Gemma 3 27B",
1260
- "id": "google/gemma-3-27b:free",
1261
- "contextLength": 131_072,
1262
- "free": true,
1263
- "type": "text"
1264
- },
1265
- {
1266
- "name": "Gemma 3n 2B",
1267
- "id": "google/gemma-3n-2b:free",
1268
- "contextLength": 32_768,
1269
- "free": true,
1270
- "type": "text"
1271
- },
1272
- {
1273
- "name": "Gemma 3n 4B",
1274
- "id": "google/gemma-3n-4b:free",
1275
- "contextLength": 32_768,
1276
- "free": true,
1277
- "type": "text"
1278
- },
1279
- {
1280
- "name": "DeepSeek V3",
1281
- "id": "deepseek/deepseek-v3:free",
1282
- "contextLength": 64_000,
1283
- "free": true,
1284
- "type": "text"
1285
- },
1286
- {
1287
- "name": "DeepSeek R1 0528",
1288
- "id": "deepseek/deepseek-r1-0528:free",
1289
- "contextLength": 128_000,
1290
- "free": true,
1291
- "type": "text"
1292
- },
1293
- {
1294
- "name": "LongCat Flash Chat",
1295
- "id": "meituan/longcat-flash-chat:free",
1296
- "contextLength": 128_000,
1297
- "free": true,
1298
- "type": "text"
1299
- },
1300
- {
1301
- "name": "Tongyi DeepResearch 30B A3B",
1302
- "id": "alibaba/tongyi-deepresearch-30b-a3b:free",
1303
- "contextLength": 128_000,
1304
- "free": true,
1305
- "type": "text"
1306
- }
1307
- ]
1308
- },
1309
1196
  {
1310
1197
  "provider": "OpenRouter",
1311
1198
  "docs": "https://openrouter.ai/docs",
@@ -1415,23 +1302,6 @@ export const GUEST_SAFE_MODELS = {
1415
1302
  "nvidia/nemotron-3-super-120b-a12b",
1416
1303
  "meta/llama-3.1-8b-instruct",
1417
1304
  ],
1418
- anyapi: [
1419
- "liquidai/lfm2.5-1.2b-instruct:free",
1420
- "liquidai/lfm2.5-1.2b-thinking:free",
1421
- "arcee-ai/trinity-large-preview:free",
1422
- "stepfun/step-3.5-flash:free",
1423
- "moonshotai/kimi-k2-0711:free",
1424
- "qwen/qwen2.5-coder-32b-instruct:free",
1425
- "google/gemma-2-9b:free",
1426
- "google/gemma-3-12b:free",
1427
- "google/gemma-3-27b:free",
1428
- "google/gemma-3n-2b:free",
1429
- "google/gemma-3n-4b:free",
1430
- "deepseek/deepseek-v3:free",
1431
- "deepseek/deepseek-r1-0528:free",
1432
- "meituan/longcat-flash-chat:free",
1433
- "alibaba/tongyi-deepresearch-30b-a3b:free",
1434
- ],
1435
1305
  openrouter: [
1436
1306
  "openrouter/free",
1437
1307
  "nvidia/nemotron-3-super-120b-a12b:free",
@@ -22,7 +22,6 @@ const PROVIDER_KEY_TO_DB_NAME: Record<string, string> = {
22
22
  deepseek: "deepseek",
23
23
  nvidia: "nvidia",
24
24
  openrouter: "openrouter",
25
- anyapi: "anyapi",
26
25
  };
27
26
 
28
27
  /** Default chat models for a provider type from the LANGUAGE_MODELS database. */
@@ -87,8 +86,7 @@ export default class ModelRegistry {
87
86
  /**
88
87
  * Finds a provider by id, falling back to free providers in order:
89
88
  * OpenRouter (no daily limits, best for guests), Groq (fastest, daily limits),
90
- * AnyAPI (100,000 anyTokens/day free), then NVIDIA, then the first
91
- * configured provider.
89
+ * then NVIDIA, then the first configured provider.
92
90
  * Client-side provider ids are config hashes that go stale whenever
93
91
  * server env config changes, so a graceful fallback keeps existing
94
92
  * chat sessions working after a redeploy.
@@ -102,7 +100,6 @@ export default class ModelRegistry {
102
100
  provider =
103
101
  providers.find((p) => p.name.toLowerCase().includes("openrouter")) ??
104
102
  providers.find((p) => p.name.toLowerCase().includes("groq")) ??
105
- providers.find((p) => p.name.toLowerCase().includes("anyapi")) ??
106
103
  providers.find((p) => p.name.toLowerCase().includes("nvidia")) ??
107
104
  providers[0];
108
105
  }
@@ -169,7 +166,6 @@ export default class ModelRegistry {
169
166
  perplexity: "https://api.perplexity.ai",
170
167
  nvidia: "https://integrate.api.nvidia.com/v1",
171
168
  openrouter: "https://openrouter.ai/api/v1",
172
- anyapi: "https://api.anyapi.ai/v1",
173
169
  deepseek: "https://api.deepseek.com",
174
170
  xai: "https://api.x.ai/v1",
175
171
  };
@@ -51,11 +51,6 @@ export const getModelProvidersUIConfigSection =
51
51
  name: "OpenRouter",
52
52
  fields: getOpenRouterConfigFields(),
53
53
  },
54
- {
55
- key: "anyapi",
56
- name: "AnyAPI",
57
- fields: getAnyAPIConfigFields(),
58
- },
59
54
  {
60
55
  key: "perplexity",
61
56
  name: "Perplexity",
@@ -205,32 +200,6 @@ function getOpenRouterConfigFields() {
205
200
  ];
206
201
  }
207
202
 
208
- function getAnyAPIConfigFields() {
209
- return [
210
- {
211
- type: "password" as const,
212
- name: "API Key",
213
- key: "apiKey",
214
- description: "Your AnyAPI.ai API key. Free plan includes 100,000 anyTokens/day (resets daily, no credit card) with access to free/basic models - get yours at anyapi.ai/pricing",
215
- required: true,
216
- placeholder: "sk-...",
217
- env: "ANYAPI_API_KEY",
218
- scope: "server" as const,
219
- },
220
- {
221
- type: "string" as const,
222
- name: "Base URL",
223
- key: "baseURL",
224
- description: "The base URL for AnyAPI's OpenAI-compatible API",
225
- required: true,
226
- placeholder: "https://api.anyapi.ai/v1",
227
- default: "https://api.anyapi.ai/v1",
228
- env: "ANYAPI_BASE_URL",
229
- scope: "server" as const,
230
- },
231
- ];
232
- }
233
-
234
203
  function getPerplexityConfigFields() {
235
204
  return [
236
205
  {