@openclaw/gmi-provider 2026.7.2-beta.5 → 2026.7.2-beta.7
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.js +186 -4
- package/openclaw.plugin.json +9 -0
- package/package.json +4 -4
- package/dist/models-BndslMVk.js +0 -197
- package/dist/models.js +0 -2
- package/dist/provider-catalog.js +0 -11
package/dist/index.js
CHANGED
|
@@ -1,9 +1,193 @@
|
|
|
1
|
-
import { r as openclaw_plugin_default } from "./models-BndslMVk.js";
|
|
2
|
-
import { buildGmiProvider } from "./provider-catalog.js";
|
|
3
1
|
import { readConfiguredProviderCatalogEntries } from "openclaw/plugin-sdk/provider-catalog-shared";
|
|
4
2
|
import { defineSingleProviderPluginEntry } from "openclaw/plugin-sdk/provider-entry";
|
|
5
3
|
import { buildProviderReplayFamilyHooks } from "openclaw/plugin-sdk/provider-model-shared";
|
|
6
4
|
import { buildProviderToolCompatFamilyHooks } from "openclaw/plugin-sdk/provider-tools";
|
|
5
|
+
//#region extensions/gmi/openclaw.plugin.json
|
|
6
|
+
var openclaw_plugin_default = {
|
|
7
|
+
id: "gmi",
|
|
8
|
+
name: "GMI Cloud",
|
|
9
|
+
description: "OpenClaw GMI Cloud provider plugin.",
|
|
10
|
+
activation: { "onStartup": false },
|
|
11
|
+
enabledByDefault: true,
|
|
12
|
+
providers: [
|
|
13
|
+
"gmi",
|
|
14
|
+
"gmi-cloud",
|
|
15
|
+
"gmicloud"
|
|
16
|
+
],
|
|
17
|
+
providerAuthAliases: {
|
|
18
|
+
"gmi-cloud": "gmi",
|
|
19
|
+
"gmicloud": "gmi"
|
|
20
|
+
},
|
|
21
|
+
providerEndpoints: [{
|
|
22
|
+
"endpointClass": "gmi-native",
|
|
23
|
+
"hosts": ["api.gmi-serving.com"]
|
|
24
|
+
}],
|
|
25
|
+
providerRequest: { "providers": {
|
|
26
|
+
"gmi": { "family": "gmi" },
|
|
27
|
+
"gmi-cloud": { "family": "gmi" },
|
|
28
|
+
"gmicloud": { "family": "gmi" }
|
|
29
|
+
} },
|
|
30
|
+
setup: { "providers": [{
|
|
31
|
+
"id": "gmi",
|
|
32
|
+
"envVars": ["GMI_API_KEY"]
|
|
33
|
+
}] },
|
|
34
|
+
providerAuthChoices: [{
|
|
35
|
+
"provider": "gmi",
|
|
36
|
+
"method": "api-key",
|
|
37
|
+
"choiceId": "gmi-api-key",
|
|
38
|
+
"appGuidedSecret": true,
|
|
39
|
+
"choiceLabel": "GMI Cloud API key",
|
|
40
|
+
"choiceHint": "OpenAI-compatible GMI Cloud endpoint",
|
|
41
|
+
"groupId": "gmi",
|
|
42
|
+
"groupLabel": "GMI Cloud",
|
|
43
|
+
"groupHint": "OpenAI-compatible GMI Cloud endpoint",
|
|
44
|
+
"optionKey": "gmiApiKey",
|
|
45
|
+
"cliFlag": "--gmi-api-key",
|
|
46
|
+
"cliOption": "--gmi-api-key <key>",
|
|
47
|
+
"cliDescription": "GMI Cloud API key"
|
|
48
|
+
}],
|
|
49
|
+
configSchema: {
|
|
50
|
+
"type": "object",
|
|
51
|
+
"additionalProperties": false,
|
|
52
|
+
"properties": {}
|
|
53
|
+
},
|
|
54
|
+
modelCatalog: {
|
|
55
|
+
"aliases": {
|
|
56
|
+
"gmi-cloud": { "provider": "gmi" },
|
|
57
|
+
"gmicloud": { "provider": "gmi" }
|
|
58
|
+
},
|
|
59
|
+
"providers": { "gmi": {
|
|
60
|
+
"baseUrl": "https://api.gmi-serving.com/v1",
|
|
61
|
+
"api": "openai-completions",
|
|
62
|
+
"defaultModel": "openai/gpt-5.6-sol",
|
|
63
|
+
"models": [
|
|
64
|
+
{
|
|
65
|
+
"id": "zai-org/GLM-5.2-FP8",
|
|
66
|
+
"name": "GLM-5.2 FP8",
|
|
67
|
+
"reasoning": true,
|
|
68
|
+
"input": ["text"],
|
|
69
|
+
"contextWindow": 1048576,
|
|
70
|
+
"maxTokens": 128e3,
|
|
71
|
+
"cost": {
|
|
72
|
+
"input": .923,
|
|
73
|
+
"output": 2.903,
|
|
74
|
+
"cacheRead": .171,
|
|
75
|
+
"cacheWrite": 0
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"id": "zai-org/GLM-5.1-FP8",
|
|
80
|
+
"name": "GLM-5.1 FP8",
|
|
81
|
+
"status": "deprecated",
|
|
82
|
+
"replacedBy": "zai-org/GLM-5.2-FP8",
|
|
83
|
+
"reasoning": true,
|
|
84
|
+
"input": ["text"],
|
|
85
|
+
"contextWindow": 202752,
|
|
86
|
+
"maxTokens": 65536,
|
|
87
|
+
"cost": {
|
|
88
|
+
"input": .979,
|
|
89
|
+
"output": 3.08,
|
|
90
|
+
"cacheRead": .182,
|
|
91
|
+
"cacheWrite": 0
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"id": "deepseek-ai/DeepSeek-V4-Pro",
|
|
96
|
+
"name": "DeepSeek V4 Pro",
|
|
97
|
+
"reasoning": true,
|
|
98
|
+
"input": ["text"],
|
|
99
|
+
"contextWindow": 1048576,
|
|
100
|
+
"maxTokens": 384e3,
|
|
101
|
+
"cost": {
|
|
102
|
+
"input": .678,
|
|
103
|
+
"output": 1.357,
|
|
104
|
+
"cacheRead": .056,
|
|
105
|
+
"cacheWrite": 0
|
|
106
|
+
},
|
|
107
|
+
"compat": { "codeMode": "capable" }
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"id": "deepseek-ai/DeepSeek-V3.2",
|
|
111
|
+
"name": "DeepSeek V3.2",
|
|
112
|
+
"status": "deprecated",
|
|
113
|
+
"replacedBy": "deepseek-ai/DeepSeek-V4-Pro",
|
|
114
|
+
"reasoning": false,
|
|
115
|
+
"input": ["text"],
|
|
116
|
+
"contextWindow": 163840,
|
|
117
|
+
"maxTokens": 65536,
|
|
118
|
+
"cost": {
|
|
119
|
+
"input": .29,
|
|
120
|
+
"output": .43,
|
|
121
|
+
"cacheRead": .03,
|
|
122
|
+
"cacheWrite": 0
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"id": "google/gemini-3.5-flash-lite",
|
|
127
|
+
"name": "Gemini 3.5 Flash Lite",
|
|
128
|
+
"reasoning": true,
|
|
129
|
+
"input": ["text", "image"],
|
|
130
|
+
"contextWindow": 1048576,
|
|
131
|
+
"maxTokens": 65536,
|
|
132
|
+
"cost": {
|
|
133
|
+
"input": .3,
|
|
134
|
+
"output": 2.5,
|
|
135
|
+
"cacheRead": .03,
|
|
136
|
+
"cacheWrite": 0
|
|
137
|
+
}
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"id": "anthropic/claude-sonnet-5",
|
|
141
|
+
"name": "Claude Sonnet 5",
|
|
142
|
+
"reasoning": true,
|
|
143
|
+
"input": ["text", "image"],
|
|
144
|
+
"contextWindow": 409600,
|
|
145
|
+
"maxTokens": 128e3,
|
|
146
|
+
"cost": {
|
|
147
|
+
"input": 2,
|
|
148
|
+
"output": 10,
|
|
149
|
+
"cacheRead": .2,
|
|
150
|
+
"cacheWrite": 0
|
|
151
|
+
},
|
|
152
|
+
"compat": { "codeMode": "capable" }
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"id": "anthropic/claude-sonnet-4.6",
|
|
156
|
+
"name": "Claude Sonnet 4.6",
|
|
157
|
+
"status": "deprecated",
|
|
158
|
+
"replacedBy": "anthropic/claude-sonnet-5",
|
|
159
|
+
"reasoning": true,
|
|
160
|
+
"input": ["text", "image"],
|
|
161
|
+
"contextWindow": 409600,
|
|
162
|
+
"maxTokens": 64e3,
|
|
163
|
+
"cost": {
|
|
164
|
+
"input": 3,
|
|
165
|
+
"output": 15,
|
|
166
|
+
"cacheRead": .3,
|
|
167
|
+
"cacheWrite": 0
|
|
168
|
+
}
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"id": "openai/gpt-5.6-sol",
|
|
172
|
+
"name": "GPT-5.6 Sol",
|
|
173
|
+
"reasoning": true,
|
|
174
|
+
"input": ["text", "image"],
|
|
175
|
+
"contextWindow": 105e4,
|
|
176
|
+
"maxTokens": 128e3,
|
|
177
|
+
"cost": {
|
|
178
|
+
"input": 5,
|
|
179
|
+
"output": 30,
|
|
180
|
+
"cacheRead": .5,
|
|
181
|
+
"cacheWrite": 6.25
|
|
182
|
+
},
|
|
183
|
+
"compat": { "codeMode": "capable" }
|
|
184
|
+
}
|
|
185
|
+
]
|
|
186
|
+
} },
|
|
187
|
+
"discovery": { "gmi": "refreshable" }
|
|
188
|
+
}
|
|
189
|
+
};
|
|
190
|
+
//#endregion
|
|
7
191
|
//#region extensions/gmi/index.ts
|
|
8
192
|
const PROVIDER_ID = "gmi";
|
|
9
193
|
var gmi_default = defineSingleProviderPluginEntry({
|
|
@@ -20,8 +204,6 @@ var gmi_default = defineSingleProviderPluginEntry({
|
|
|
20
204
|
noteMessage: "Manage API keys at https://www.gmicloud.ai/"
|
|
21
205
|
},
|
|
22
206
|
catalog: {
|
|
23
|
-
buildProvider: buildGmiProvider,
|
|
24
|
-
buildStaticProvider: buildGmiProvider,
|
|
25
207
|
allowExplicitBaseUrl: true,
|
|
26
208
|
liveModelDiscovery: true
|
|
27
209
|
},
|
package/openclaw.plugin.json
CHANGED
|
@@ -117,6 +117,9 @@
|
|
|
117
117
|
"output": 1.357,
|
|
118
118
|
"cacheRead": 0.056,
|
|
119
119
|
"cacheWrite": 0
|
|
120
|
+
},
|
|
121
|
+
"compat": {
|
|
122
|
+
"codeMode": "capable"
|
|
120
123
|
}
|
|
121
124
|
},
|
|
122
125
|
{
|
|
@@ -161,6 +164,9 @@
|
|
|
161
164
|
"output": 10,
|
|
162
165
|
"cacheRead": 0.2,
|
|
163
166
|
"cacheWrite": 0
|
|
167
|
+
},
|
|
168
|
+
"compat": {
|
|
169
|
+
"codeMode": "capable"
|
|
164
170
|
}
|
|
165
171
|
},
|
|
166
172
|
{
|
|
@@ -191,6 +197,9 @@
|
|
|
191
197
|
"output": 30,
|
|
192
198
|
"cacheRead": 0.5,
|
|
193
199
|
"cacheWrite": 6.25
|
|
200
|
+
},
|
|
201
|
+
"compat": {
|
|
202
|
+
"codeMode": "capable"
|
|
194
203
|
}
|
|
195
204
|
}
|
|
196
205
|
]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/gmi-provider",
|
|
3
|
-
"version": "2026.7.2-beta.
|
|
3
|
+
"version": "2026.7.2-beta.7",
|
|
4
4
|
"description": "OpenClaw GMI Cloud provider plugin.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -18,10 +18,10 @@
|
|
|
18
18
|
"minHostVersion": ">=2026.6.8"
|
|
19
19
|
},
|
|
20
20
|
"compat": {
|
|
21
|
-
"pluginApi": ">=2026.7.2-beta.
|
|
21
|
+
"pluginApi": ">=2026.7.2-beta.7"
|
|
22
22
|
},
|
|
23
23
|
"build": {
|
|
24
|
-
"openclawVersion": "2026.7.2-beta.
|
|
24
|
+
"openclawVersion": "2026.7.2-beta.7",
|
|
25
25
|
"bundledDist": false
|
|
26
26
|
},
|
|
27
27
|
"release": {
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"README.md"
|
|
39
39
|
],
|
|
40
40
|
"peerDependencies": {
|
|
41
|
-
"openclaw": ">=2026.7.2-beta.
|
|
41
|
+
"openclaw": ">=2026.7.2-beta.7"
|
|
42
42
|
},
|
|
43
43
|
"peerDependenciesMeta": {
|
|
44
44
|
"openclaw": {
|
package/dist/models-BndslMVk.js
DELETED
|
@@ -1,197 +0,0 @@
|
|
|
1
|
-
import { buildManifestModelDefinition } from "openclaw/plugin-sdk/provider-catalog-shared";
|
|
2
|
-
//#region extensions/gmi/openclaw.plugin.json
|
|
3
|
-
var openclaw_plugin_default = {
|
|
4
|
-
id: "gmi",
|
|
5
|
-
name: "GMI Cloud",
|
|
6
|
-
description: "OpenClaw GMI Cloud provider plugin.",
|
|
7
|
-
activation: { "onStartup": false },
|
|
8
|
-
enabledByDefault: true,
|
|
9
|
-
providers: [
|
|
10
|
-
"gmi",
|
|
11
|
-
"gmi-cloud",
|
|
12
|
-
"gmicloud"
|
|
13
|
-
],
|
|
14
|
-
providerAuthAliases: {
|
|
15
|
-
"gmi-cloud": "gmi",
|
|
16
|
-
"gmicloud": "gmi"
|
|
17
|
-
},
|
|
18
|
-
providerEndpoints: [{
|
|
19
|
-
"endpointClass": "gmi-native",
|
|
20
|
-
"hosts": ["api.gmi-serving.com"]
|
|
21
|
-
}],
|
|
22
|
-
providerRequest: { "providers": {
|
|
23
|
-
"gmi": { "family": "gmi" },
|
|
24
|
-
"gmi-cloud": { "family": "gmi" },
|
|
25
|
-
"gmicloud": { "family": "gmi" }
|
|
26
|
-
} },
|
|
27
|
-
setup: { "providers": [{
|
|
28
|
-
"id": "gmi",
|
|
29
|
-
"envVars": ["GMI_API_KEY"]
|
|
30
|
-
}] },
|
|
31
|
-
providerAuthChoices: [{
|
|
32
|
-
"provider": "gmi",
|
|
33
|
-
"method": "api-key",
|
|
34
|
-
"choiceId": "gmi-api-key",
|
|
35
|
-
"appGuidedSecret": true,
|
|
36
|
-
"choiceLabel": "GMI Cloud API key",
|
|
37
|
-
"choiceHint": "OpenAI-compatible GMI Cloud endpoint",
|
|
38
|
-
"groupId": "gmi",
|
|
39
|
-
"groupLabel": "GMI Cloud",
|
|
40
|
-
"groupHint": "OpenAI-compatible GMI Cloud endpoint",
|
|
41
|
-
"optionKey": "gmiApiKey",
|
|
42
|
-
"cliFlag": "--gmi-api-key",
|
|
43
|
-
"cliOption": "--gmi-api-key <key>",
|
|
44
|
-
"cliDescription": "GMI Cloud API key"
|
|
45
|
-
}],
|
|
46
|
-
configSchema: {
|
|
47
|
-
"type": "object",
|
|
48
|
-
"additionalProperties": false,
|
|
49
|
-
"properties": {}
|
|
50
|
-
},
|
|
51
|
-
modelCatalog: {
|
|
52
|
-
"aliases": {
|
|
53
|
-
"gmi-cloud": { "provider": "gmi" },
|
|
54
|
-
"gmicloud": { "provider": "gmi" }
|
|
55
|
-
},
|
|
56
|
-
"providers": { "gmi": {
|
|
57
|
-
"baseUrl": "https://api.gmi-serving.com/v1",
|
|
58
|
-
"api": "openai-completions",
|
|
59
|
-
"defaultModel": "openai/gpt-5.6-sol",
|
|
60
|
-
"models": [
|
|
61
|
-
{
|
|
62
|
-
"id": "zai-org/GLM-5.2-FP8",
|
|
63
|
-
"name": "GLM-5.2 FP8",
|
|
64
|
-
"reasoning": true,
|
|
65
|
-
"input": ["text"],
|
|
66
|
-
"contextWindow": 1048576,
|
|
67
|
-
"maxTokens": 128e3,
|
|
68
|
-
"cost": {
|
|
69
|
-
"input": .923,
|
|
70
|
-
"output": 2.903,
|
|
71
|
-
"cacheRead": .171,
|
|
72
|
-
"cacheWrite": 0
|
|
73
|
-
}
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
"id": "zai-org/GLM-5.1-FP8",
|
|
77
|
-
"name": "GLM-5.1 FP8",
|
|
78
|
-
"status": "deprecated",
|
|
79
|
-
"replacedBy": "zai-org/GLM-5.2-FP8",
|
|
80
|
-
"reasoning": true,
|
|
81
|
-
"input": ["text"],
|
|
82
|
-
"contextWindow": 202752,
|
|
83
|
-
"maxTokens": 65536,
|
|
84
|
-
"cost": {
|
|
85
|
-
"input": .979,
|
|
86
|
-
"output": 3.08,
|
|
87
|
-
"cacheRead": .182,
|
|
88
|
-
"cacheWrite": 0
|
|
89
|
-
}
|
|
90
|
-
},
|
|
91
|
-
{
|
|
92
|
-
"id": "deepseek-ai/DeepSeek-V4-Pro",
|
|
93
|
-
"name": "DeepSeek V4 Pro",
|
|
94
|
-
"reasoning": true,
|
|
95
|
-
"input": ["text"],
|
|
96
|
-
"contextWindow": 1048576,
|
|
97
|
-
"maxTokens": 384e3,
|
|
98
|
-
"cost": {
|
|
99
|
-
"input": .678,
|
|
100
|
-
"output": 1.357,
|
|
101
|
-
"cacheRead": .056,
|
|
102
|
-
"cacheWrite": 0
|
|
103
|
-
}
|
|
104
|
-
},
|
|
105
|
-
{
|
|
106
|
-
"id": "deepseek-ai/DeepSeek-V3.2",
|
|
107
|
-
"name": "DeepSeek V3.2",
|
|
108
|
-
"status": "deprecated",
|
|
109
|
-
"replacedBy": "deepseek-ai/DeepSeek-V4-Pro",
|
|
110
|
-
"reasoning": false,
|
|
111
|
-
"input": ["text"],
|
|
112
|
-
"contextWindow": 163840,
|
|
113
|
-
"maxTokens": 65536,
|
|
114
|
-
"cost": {
|
|
115
|
-
"input": .29,
|
|
116
|
-
"output": .43,
|
|
117
|
-
"cacheRead": .03,
|
|
118
|
-
"cacheWrite": 0
|
|
119
|
-
}
|
|
120
|
-
},
|
|
121
|
-
{
|
|
122
|
-
"id": "google/gemini-3.5-flash-lite",
|
|
123
|
-
"name": "Gemini 3.5 Flash Lite",
|
|
124
|
-
"reasoning": true,
|
|
125
|
-
"input": ["text", "image"],
|
|
126
|
-
"contextWindow": 1048576,
|
|
127
|
-
"maxTokens": 65536,
|
|
128
|
-
"cost": {
|
|
129
|
-
"input": .3,
|
|
130
|
-
"output": 2.5,
|
|
131
|
-
"cacheRead": .03,
|
|
132
|
-
"cacheWrite": 0
|
|
133
|
-
}
|
|
134
|
-
},
|
|
135
|
-
{
|
|
136
|
-
"id": "anthropic/claude-sonnet-5",
|
|
137
|
-
"name": "Claude Sonnet 5",
|
|
138
|
-
"reasoning": true,
|
|
139
|
-
"input": ["text", "image"],
|
|
140
|
-
"contextWindow": 409600,
|
|
141
|
-
"maxTokens": 128e3,
|
|
142
|
-
"cost": {
|
|
143
|
-
"input": 2,
|
|
144
|
-
"output": 10,
|
|
145
|
-
"cacheRead": .2,
|
|
146
|
-
"cacheWrite": 0
|
|
147
|
-
}
|
|
148
|
-
},
|
|
149
|
-
{
|
|
150
|
-
"id": "anthropic/claude-sonnet-4.6",
|
|
151
|
-
"name": "Claude Sonnet 4.6",
|
|
152
|
-
"status": "deprecated",
|
|
153
|
-
"replacedBy": "anthropic/claude-sonnet-5",
|
|
154
|
-
"reasoning": true,
|
|
155
|
-
"input": ["text", "image"],
|
|
156
|
-
"contextWindow": 409600,
|
|
157
|
-
"maxTokens": 64e3,
|
|
158
|
-
"cost": {
|
|
159
|
-
"input": 3,
|
|
160
|
-
"output": 15,
|
|
161
|
-
"cacheRead": .3,
|
|
162
|
-
"cacheWrite": 0
|
|
163
|
-
}
|
|
164
|
-
},
|
|
165
|
-
{
|
|
166
|
-
"id": "openai/gpt-5.6-sol",
|
|
167
|
-
"name": "GPT-5.6 Sol",
|
|
168
|
-
"reasoning": true,
|
|
169
|
-
"input": ["text", "image"],
|
|
170
|
-
"contextWindow": 105e4,
|
|
171
|
-
"maxTokens": 128e3,
|
|
172
|
-
"cost": {
|
|
173
|
-
"input": 5,
|
|
174
|
-
"output": 30,
|
|
175
|
-
"cacheRead": .5,
|
|
176
|
-
"cacheWrite": 6.25
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
]
|
|
180
|
-
} },
|
|
181
|
-
"discovery": { "gmi": "refreshable" }
|
|
182
|
-
}
|
|
183
|
-
};
|
|
184
|
-
//#endregion
|
|
185
|
-
//#region extensions/gmi/models.ts
|
|
186
|
-
const GMI_MANIFEST_CATALOG = openclaw_plugin_default.modelCatalog.providers.gmi;
|
|
187
|
-
const GMI_BASE_URL = GMI_MANIFEST_CATALOG.baseUrl;
|
|
188
|
-
const GMI_MODEL_CATALOG = GMI_MANIFEST_CATALOG.models.map(buildManifestModelDefinition({
|
|
189
|
-
providerId: "gmi",
|
|
190
|
-
catalog: GMI_MANIFEST_CATALOG,
|
|
191
|
-
decorate: (model) => ({
|
|
192
|
-
...model,
|
|
193
|
-
api: "openai-completions"
|
|
194
|
-
})
|
|
195
|
-
}));
|
|
196
|
-
//#endregion
|
|
197
|
-
export { GMI_MODEL_CATALOG as n, openclaw_plugin_default as r, GMI_BASE_URL as t };
|
package/dist/models.js
DELETED
package/dist/provider-catalog.js
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { n as GMI_MODEL_CATALOG, t as GMI_BASE_URL } from "./models-BndslMVk.js";
|
|
2
|
-
//#region extensions/gmi/provider-catalog.ts
|
|
3
|
-
function buildGmiProvider() {
|
|
4
|
-
return {
|
|
5
|
-
baseUrl: GMI_BASE_URL,
|
|
6
|
-
api: "openai-completions",
|
|
7
|
-
models: structuredClone(GMI_MODEL_CATALOG)
|
|
8
|
-
};
|
|
9
|
-
}
|
|
10
|
-
//#endregion
|
|
11
|
-
export { buildGmiProvider };
|