llmist 15.14.1 → 15.14.2

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 CHANGED
@@ -6365,9 +6365,10 @@ function resolveGeminiThinkingConfig(reasoning, modelName) {
6365
6365
  if (!reasoning?.enabled) return void 0;
6366
6366
  const isGemini3 = modelName.includes("gemini-3");
6367
6367
  if (isGemini3) {
6368
+ const levelMap = modelName.includes("pro") ? GEMINI3_PRO_THINKING_LEVEL : GEMINI3_FLASH_THINKING_LEVEL;
6368
6369
  return {
6369
6370
  thinkingConfig: {
6370
- thinkingLevel: GEMINI3_THINKING_LEVEL[reasoning.effort ?? "medium"]
6371
+ thinkingLevel: levelMap[reasoning.effort ?? "medium"]
6371
6372
  }
6372
6373
  };
6373
6374
  }
@@ -6406,7 +6407,7 @@ function wrapPcmInWav(pcmData, sampleRate, bitsPerSample, numChannels) {
6406
6407
  function createGeminiProviderFromEnv() {
6407
6408
  return createProviderFromEnv("GEMINI_API_KEY", import_genai2.GoogleGenAI, GeminiGenerativeProvider);
6408
6409
  }
6409
- var import_genai2, GEMINI3_THINKING_LEVEL, GEMINI25_THINKING_BUDGET, GEMINI_ROLE_MAP, GeminiGenerativeProvider;
6410
+ var import_genai2, GEMINI3_PRO_THINKING_LEVEL, GEMINI3_FLASH_THINKING_LEVEL, GEMINI25_THINKING_BUDGET, GEMINI_ROLE_MAP, GeminiGenerativeProvider;
6410
6411
  var init_gemini = __esm({
6411
6412
  "src/providers/gemini.ts"() {
6412
6413
  "use strict";
@@ -6419,7 +6420,14 @@ var init_gemini = __esm({
6419
6420
  init_gemini_models();
6420
6421
  init_gemini_speech_models();
6421
6422
  init_utils();
6422
- GEMINI3_THINKING_LEVEL = {
6423
+ GEMINI3_PRO_THINKING_LEVEL = {
6424
+ none: "low",
6425
+ low: "low",
6426
+ medium: "high",
6427
+ high: "high",
6428
+ maximum: "high"
6429
+ };
6430
+ GEMINI3_FLASH_THINKING_LEVEL = {
6423
6431
  none: "minimal",
6424
6432
  low: "low",
6425
6433
  medium: "medium",