@hiper2d/ai-agents 0.1.1 → 0.1.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.js CHANGED
@@ -1036,10 +1036,11 @@ var SupportedAiModels = {
1036
1036
  tags: ["expensive"]
1037
1037
  },
1038
1038
  [LLM_CONSTANTS.GEMINI_FLASH]: {
1039
- // Repointed from gemini-3.6-flash 2026-08-13 (stable picker id, same pattern as gpt).
1040
- // 3.7 rejects thinkingLevel 'minimal' (low|medium|high only), unlike 3.5/3.6.
1041
- displayName: "Gemini 3.7 Flash",
1042
- modelApiName: "gemini-3.7-flash",
1039
+ // Repointed 3.6 → 3.7 (2026-08-13) → 3.8 (2026-09-02); stable picker id, same pattern as gpt.
1040
+ // 3.7 rejected thinkingLevel 'minimal' (low|medium|high only), unlike 3.5/3.6 — 3.8 untested
1041
+ // on 'minimal', so keep the pin at 'medium' or above.
1042
+ displayName: "Gemini 3.8 Flash",
1043
+ modelApiName: "gemini-3.8-flash",
1043
1044
  apiKeyName: API_KEY_CONSTANTS.GOOGLE,
1044
1045
  hasThinking: true,
1045
1046
  reasoningEffort: "medium",
@@ -1367,9 +1368,9 @@ var MODEL_PRICING = {
1367
1368
  extendedContextThresholdTokens: 2e5
1368
1369
  },
1369
1370
  [SupportedAiModels[LLM_CONSTANTS.GEMINI_FLASH].modelApiName]: {
1370
- // Launch pricing through 2026-12-31; doubles to $1.50/$7.50/$0.15 on 2027-01-01
1371
- // (ai.google.dev pricing page, fetched 2026-08-13) — ACTION NEEDED then: update these
1372
- // rates.
1371
+ // 3.8 Flash (2026-09-02) launched at the same rates as 3.7. 3.7's launch pricing was
1372
+ // scheduled to double to $1.50/$7.50/$0.15 on 2027-01-01 (ai.google.dev pricing page,
1373
+ // fetched 2026-08-13) — ACTION NEEDED then: re-check whether 3.8 follows and update.
1373
1374
  // Cache storage cost ($0.50 / 1M tokens per hour) is not tracked here — the
1374
1375
  // schema only models per-token call costs, not time-based storage.
1375
1376
  inputPrice: 0.75,