koishi-plugin-chatluna-google-gemini-adapter 1.3.0-alpha.16 → 1.3.0-alpha.18

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
@@ -1042,7 +1042,7 @@ function apply(ctx, config) {
1042
1042
  };
1043
1043
  });
1044
1044
  });
1045
- plugin.registerClient((ctx2) => new GeminiClient(ctx2, config, plugin));
1045
+ plugin.registerClient(() => new GeminiClient(ctx, config, plugin));
1046
1046
  await plugin.initClient();
1047
1047
  });
1048
1048
  }
package/lib/index.mjs CHANGED
@@ -1039,7 +1039,7 @@ function apply(ctx, config) {
1039
1039
  };
1040
1040
  });
1041
1041
  });
1042
- plugin.registerClient((ctx2) => new GeminiClient(ctx2, config, plugin));
1042
+ plugin.registerClient(() => new GeminiClient(ctx, config, plugin));
1043
1043
  await plugin.initClient();
1044
1044
  });
1045
1045
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "koishi-plugin-chatluna-google-gemini-adapter",
3
3
  "description": "google-gemini adapter for chatluna",
4
- "version": "1.3.0-alpha.16",
4
+ "version": "1.3.0-alpha.18",
5
5
  "main": "lib/index.cjs",
6
6
  "module": "lib/index.mjs",
7
7
  "typings": "lib/index.d.ts",
@@ -62,7 +62,7 @@
62
62
  "adapter"
63
63
  ],
64
64
  "dependencies": {
65
- "@chatluna/v1-shared-adapter": "^1.0.13",
65
+ "@chatluna/v1-shared-adapter": "^1.0.14",
66
66
  "@langchain/core": "0.3.62",
67
67
  "zod": "3.25.76",
68
68
  "zod-to-json-schema": "^3.24.6"
@@ -73,7 +73,7 @@
73
73
  },
74
74
  "peerDependencies": {
75
75
  "koishi": "^4.18.9",
76
- "koishi-plugin-chatluna": "^1.3.0-alpha.57",
76
+ "koishi-plugin-chatluna": "^1.3.0-alpha.60",
77
77
  "koishi-plugin-chatluna-storage-service": "^0.0.9"
78
78
  },
79
79
  "peerDependenciesMeta": {