@demicodes/provider-google 0.10.1 → 0.11.0
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/dist/index.mjs +4 -1
- package/package.json +4 -4
package/dist/index.mjs
CHANGED
|
@@ -121,11 +121,14 @@ const DEFAULT_EFFORT_BUDGET_TOKENS = {
|
|
|
121
121
|
xhigh: 65536,
|
|
122
122
|
max: 98304
|
|
123
123
|
};
|
|
124
|
-
var GoogleProvider = class {
|
|
124
|
+
var GoogleProvider = class GoogleProvider {
|
|
125
125
|
options;
|
|
126
126
|
constructor(options) {
|
|
127
127
|
this.options = options;
|
|
128
128
|
}
|
|
129
|
+
clone() {
|
|
130
|
+
return new GoogleProvider(this.options);
|
|
131
|
+
}
|
|
129
132
|
async *run(request) {
|
|
130
133
|
if (request.cancel.aborted) {
|
|
131
134
|
yield { type: "abort" };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@demicodes/provider-google",
|
|
3
3
|
"description": "Google Gemini API provider adapter for Demi.",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.11.0",
|
|
5
5
|
"private": false,
|
|
6
6
|
"type": "module",
|
|
7
7
|
"exports": {
|
|
@@ -11,9 +11,9 @@
|
|
|
11
11
|
}
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@demicodes/core": "^0.
|
|
15
|
-
"@demicodes/provider": "^0.
|
|
16
|
-
"@demicodes/utils": "^0.
|
|
14
|
+
"@demicodes/core": "^0.11.0",
|
|
15
|
+
"@demicodes/provider": "^0.11.0",
|
|
16
|
+
"@demicodes/utils": "^0.11.0"
|
|
17
17
|
},
|
|
18
18
|
"license": "Apache-2.0",
|
|
19
19
|
"main": "./dist/index.mjs",
|