@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.d.cts
CHANGED
|
@@ -525,6 +525,8 @@ declare namespace MODEL_CONFIGS {
|
|
|
525
525
|
export { cost_1 as cost };
|
|
526
526
|
let free_1: string;
|
|
527
527
|
export { free_1 as free };
|
|
528
|
+
export let live: string;
|
|
529
|
+
export let liveThinking: string;
|
|
528
530
|
export let video: string;
|
|
529
531
|
export let image: string;
|
|
530
532
|
}
|
|
@@ -539,6 +541,10 @@ declare namespace MODEL_CONFIGS {
|
|
|
539
541
|
export { cost_2 as cost };
|
|
540
542
|
let free_2: string;
|
|
541
543
|
export { free_2 as free };
|
|
544
|
+
let live_1: string;
|
|
545
|
+
export { live_1 as live };
|
|
546
|
+
let liveThinking_1: string;
|
|
547
|
+
export { liveThinking_1 as liveThinking };
|
|
542
548
|
let video_1: string;
|
|
543
549
|
export { video_1 as video };
|
|
544
550
|
let image_1: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -525,6 +525,8 @@ declare namespace MODEL_CONFIGS {
|
|
|
525
525
|
export { cost_1 as cost };
|
|
526
526
|
let free_1: string;
|
|
527
527
|
export { free_1 as free };
|
|
528
|
+
export let live: string;
|
|
529
|
+
export let liveThinking: string;
|
|
528
530
|
export let video: string;
|
|
529
531
|
export let image: string;
|
|
530
532
|
}
|
|
@@ -539,6 +541,10 @@ declare namespace MODEL_CONFIGS {
|
|
|
539
541
|
export { cost_2 as cost };
|
|
540
542
|
let free_2: string;
|
|
541
543
|
export { free_2 as free };
|
|
544
|
+
let live_1: string;
|
|
545
|
+
export { live_1 as live };
|
|
546
|
+
let liveThinking_1: string;
|
|
547
|
+
export { liveThinking_1 as liveThinking };
|
|
542
548
|
let video_1: string;
|
|
543
549
|
export { video_1 as video };
|
|
544
550
|
let image_1: string;
|
package/dist/index.js
CHANGED
|
@@ -193,6 +193,8 @@ var MODEL_CONFIGS = {
|
|
|
193
193
|
fast: "gemini-3.8-flash",
|
|
194
194
|
cost: "gemini-3.5-flash-lite",
|
|
195
195
|
free: "gemini-3.5-flash-lite",
|
|
196
|
+
live: "gemini-3.8-live",
|
|
197
|
+
liveThinking: "gemini-3.8-live-extended-thinking",
|
|
196
198
|
video: "veo",
|
|
197
199
|
image: "gemini-3-pro-image"
|
|
198
200
|
},
|
|
@@ -203,6 +205,8 @@ var MODEL_CONFIGS = {
|
|
|
203
205
|
fast: "gemini-3.7-flash",
|
|
204
206
|
cost: "gemini-3.5-flash-lite",
|
|
205
207
|
free: "gemini-3.5-flash-lite",
|
|
208
|
+
live: "gemini-3.8-live",
|
|
209
|
+
liveThinking: "gemini-3.8-live-extended-thinking",
|
|
206
210
|
video: "veo",
|
|
207
211
|
image: "gemini-3.1-flash-image"
|
|
208
212
|
},
|
|
@@ -1323,7 +1327,7 @@ ${prompt}` : prompt;
|
|
|
1323
1327
|
if (!((_b = (_a = this.client) == null ? void 0 : _a.live) == null ? void 0 : _b.connect)) {
|
|
1324
1328
|
throw new LLMServiceException("The configured Google provider SDK does not support live sessions.", 500);
|
|
1325
1329
|
}
|
|
1326
|
-
const resolvedModel = model || ((_c = this.models) == null ? void 0 : _c.live) ||
|
|
1330
|
+
const resolvedModel = model || ((_c = this.models) == null ? void 0 : _c.live) || "gemini-3.8-live";
|
|
1327
1331
|
return this.client.live.connect({
|
|
1328
1332
|
model: resolvedModel,
|
|
1329
1333
|
config,
|