koishi-plugin-elysia-api-aggregator 0.3.1 → 0.3.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/lib/index.cjs CHANGED
@@ -268,11 +268,11 @@ var sourceBaseSchema = import_koishi.Schema.object({
268
268
  var sourceSchema = import_koishi.Schema.intersect([
269
269
  sourceBaseSchema,
270
270
  import_koishi.Schema.union([
271
- import_koishi.Schema.object({}),
272
271
  import_koishi.Schema.object({
273
272
  autoFetchModels: import_koishi.Schema.const(false).required(),
274
273
  manualModels: import_koishi.Schema.array(manualSourceModelSchema).default([]).role("table").description("手动添加模型")
275
- })
274
+ }),
275
+ import_koishi.Schema.object({})
276
276
  ])
277
277
  ]);
278
278
  var Config = import_koishi.Schema.intersect([
package/lib/index.mjs CHANGED
@@ -242,11 +242,11 @@ var sourceBaseSchema = Schema.object({
242
242
  var sourceSchema = Schema.intersect([
243
243
  sourceBaseSchema,
244
244
  Schema.union([
245
- Schema.object({}),
246
245
  Schema.object({
247
246
  autoFetchModels: Schema.const(false).required(),
248
247
  manualModels: Schema.array(manualSourceModelSchema).default([]).role("table").description("手动添加模型")
249
- })
248
+ }),
249
+ Schema.object({})
250
250
  ])
251
251
  ]);
252
252
  var Config = Schema.intersect([
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "koishi-plugin-elysia-api-aggregator",
3
3
  "description": "Inspired by New-API, the Elysia-API model aggregator plugin allows automatic fetching and manual configuration of available AI models, designed to work with the orchestrator plugin.",
4
- "version": "0.3.1",
4
+ "version": "0.3.3",
5
5
  "main": "lib/index.cjs",
6
6
  "module": "lib/index.mjs",
7
7
  "typings": "lib/index.d.ts",