@ever-works/google-plugin 1.0.7 → 1.0.8
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.cjs +1 -1
- package/dist/index.js +1 -1
- package/package.json +5 -5
package/dist/index.cjs
CHANGED
|
@@ -21117,7 +21117,7 @@ var AiOperations = class {
|
|
|
21117
21117
|
if (!config2.baseURL) {
|
|
21118
21118
|
throw new Error("baseURL is required to list models");
|
|
21119
21119
|
}
|
|
21120
|
-
const modelsUrl = `${config2.baseURL.replace(
|
|
21120
|
+
const modelsUrl = `${config2.baseURL.replace(/(?<!\/)\/+$/, "")}/models`;
|
|
21121
21121
|
const response = await safeFetchWithDnsPin(modelsUrl, {
|
|
21122
21122
|
headers: {
|
|
21123
21123
|
Authorization: `Bearer ${config2.apiKey}`,
|
package/dist/index.js
CHANGED
|
@@ -21093,7 +21093,7 @@ var AiOperations = class {
|
|
|
21093
21093
|
if (!config2.baseURL) {
|
|
21094
21094
|
throw new Error("baseURL is required to list models");
|
|
21095
21095
|
}
|
|
21096
|
-
const modelsUrl = `${config2.baseURL.replace(
|
|
21096
|
+
const modelsUrl = `${config2.baseURL.replace(/(?<!\/)\/+$/, "")}/models`;
|
|
21097
21097
|
const response = await safeFetchWithDnsPin(modelsUrl, {
|
|
21098
21098
|
headers: {
|
|
21099
21099
|
Authorization: `Bearer ${config2.apiKey}`,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ever-works/google-plugin",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.8",
|
|
4
4
|
"description": "Google Gemini AI provider plugin for Ever Works platform",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Ever Co. LTD",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"test:watch": "vitest"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@ever-works/plugin": "^1.2.
|
|
35
|
+
"@ever-works/plugin": "^1.2.16",
|
|
36
36
|
"@langchain/openai": "^1.7.1",
|
|
37
37
|
"@langchain/core": "^1.3.0"
|
|
38
38
|
},
|
|
@@ -71,8 +71,8 @@
|
|
|
71
71
|
"url": "https://github.com/ever-works/ever-works/issues"
|
|
72
72
|
},
|
|
73
73
|
"everworksRelease": {
|
|
74
|
-
"contentHash": "sha256:
|
|
75
|
-
"commit": "
|
|
76
|
-
"source": "https://github.com/ever-works/ever-works/tree/
|
|
74
|
+
"contentHash": "sha256:64ba052813f327280129aed93909ae329b3a89740a0745ac6b607efc03a96535",
|
|
75
|
+
"commit": "89cee44a662034ea957b07ec5e1230ecf340b107",
|
|
76
|
+
"source": "https://github.com/ever-works/ever-works/tree/89cee44a662034ea957b07ec5e1230ecf340b107/packages/plugins/google"
|
|
77
77
|
}
|
|
78
78
|
}
|