@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.mjs CHANGED
@@ -905,10 +905,11 @@ var SupportedAiModels = {
905
905
  tags: ["expensive"]
906
906
  },
907
907
  [LLM_CONSTANTS.GEMINI_FLASH]: {
908
- // Repointed from gemini-3.6-flash 2026-08-13 (stable picker id, same pattern as gpt).
909
- // 3.7 rejects thinkingLevel 'minimal' (low|medium|high only), unlike 3.5/3.6.
910
- displayName: "Gemini 3.7 Flash",
911
- modelApiName: "gemini-3.7-flash",
908
+ // Repointed 3.6 → 3.7 (2026-08-13) → 3.8 (2026-09-02); stable picker id, same pattern as gpt.
909
+ // 3.7 rejected thinkingLevel 'minimal' (low|medium|high only), unlike 3.5/3.6 — 3.8 untested
910
+ // on 'minimal', so keep the pin at 'medium' or above.
911
+ displayName: "Gemini 3.8 Flash",
912
+ modelApiName: "gemini-3.8-flash",
912
913
  apiKeyName: API_KEY_CONSTANTS.GOOGLE,
913
914
  hasThinking: true,
914
915
  reasoningEffort: "medium",
@@ -1236,9 +1237,9 @@ var MODEL_PRICING = {
1236
1237
  extendedContextThresholdTokens: 2e5
1237
1238
  },
1238
1239
  [SupportedAiModels[LLM_CONSTANTS.GEMINI_FLASH].modelApiName]: {
1239
- // Launch pricing through 2026-12-31; doubles to $1.50/$7.50/$0.15 on 2027-01-01
1240
- // (ai.google.dev pricing page, fetched 2026-08-13) — ACTION NEEDED then: update these
1241
- // rates.
1240
+ // 3.8 Flash (2026-09-02) launched at the same rates as 3.7. 3.7's launch pricing was
1241
+ // scheduled to double to $1.50/$7.50/$0.15 on 2027-01-01 (ai.google.dev pricing page,
1242
+ // fetched 2026-08-13) — ACTION NEEDED then: re-check whether 3.8 follows and update.
1242
1243
  // Cache storage cost ($0.50 / 1M tokens per hour) is not tracked here — the
1243
1244
  // schema only models per-token call costs, not time-based storage.
1244
1245
  inputPrice: 0.75,