@contentgrowth/llm-service 1.3.5 → 1.3.6
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 +5 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -247,6 +247,8 @@ var MODEL_CONFIGS = {
|
|
|
247
247
|
fast: "gemini-3.8-flash",
|
|
248
248
|
cost: "gemini-3.5-flash-lite",
|
|
249
249
|
free: "gemini-3.5-flash-lite",
|
|
250
|
+
live: "gemini-3.8-live",
|
|
251
|
+
liveThinking: "gemini-3.8-live-extended-thinking",
|
|
250
252
|
video: "veo",
|
|
251
253
|
image: "gemini-3-pro-image"
|
|
252
254
|
},
|
|
@@ -257,6 +259,8 @@ var MODEL_CONFIGS = {
|
|
|
257
259
|
fast: "gemini-3.7-flash",
|
|
258
260
|
cost: "gemini-3.5-flash-lite",
|
|
259
261
|
free: "gemini-3.5-flash-lite",
|
|
262
|
+
live: "gemini-3.8-live",
|
|
263
|
+
liveThinking: "gemini-3.8-live-extended-thinking",
|
|
260
264
|
video: "veo",
|
|
261
265
|
image: "gemini-3.1-flash-image"
|
|
262
266
|
},
|
|
@@ -1377,7 +1381,7 @@ ${prompt}` : prompt;
|
|
|
1377
1381
|
if (!((_b = (_a = this.client) == null ? void 0 : _a.live) == null ? void 0 : _b.connect)) {
|
|
1378
1382
|
throw new LLMServiceException("The configured Google provider SDK does not support live sessions.", 500);
|
|
1379
1383
|
}
|
|
1380
|
-
const resolvedModel = model || ((_c = this.models) == null ? void 0 : _c.live) ||
|
|
1384
|
+
const resolvedModel = model || ((_c = this.models) == null ? void 0 : _c.live) || "gemini-3.8-live";
|
|
1381
1385
|
return this.client.live.connect({
|
|
1382
1386
|
model: resolvedModel,
|
|
1383
1387
|
config,
|