@hiper2d/ai-agents 0.33.0 → 0.34.1
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 +9 -6
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +9 -6
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1050,10 +1050,11 @@ var LLM_CONSTANTS = {
|
|
|
1050
1050
|
var DEFAULT_MAX_OUTPUT_TOKENS = 8192;
|
|
1051
1051
|
var DEFAULT_REQUEST_TIMEOUT_MS = 6e4;
|
|
1052
1052
|
var SupportedAiModels = {
|
|
1053
|
-
// Claude Fable 5.
|
|
1053
|
+
// Claude Fable 5.2 (2026-11-10, was 5.1 since 2026-09-02, Fable 5 before) - frontier reasoning model.
|
|
1054
|
+
// Thinking is always on (no non-thinking variant). Id verified against GET /v1/models.
|
|
1054
1055
|
[LLM_CONSTANTS.CLAUDE_FABLE]: {
|
|
1055
|
-
displayName: "Claude Fable 5.
|
|
1056
|
-
modelApiName: "claude-fable-5-
|
|
1056
|
+
displayName: "Claude Fable 5.2",
|
|
1057
|
+
modelApiName: "claude-fable-5-2",
|
|
1057
1058
|
apiKeyName: API_KEY_CONSTANTS.ANTHROPIC,
|
|
1058
1059
|
hasThinking: true,
|
|
1059
1060
|
reasoningEffort: "high",
|
|
@@ -1688,9 +1689,11 @@ var MODEL_PRICING = {
|
|
|
1688
1689
|
[SupportedAiModels[LLM_CONSTANTS.CLAUDE_FABLE].modelApiName]: {
|
|
1689
1690
|
// Full 1M context window at standard pricing (no extended-context premium).
|
|
1690
1691
|
// Fable 5.1 (2026-09-02): same $10/$50 as Fable 5, but cache reads dropped to $0.25/MTok.
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1692
|
+
// Fable 5.2 (2026-11-10): $8/$40, cache reads $0.20 (pricing page, 2026-11-11) — 20% under
|
|
1693
|
+
// 5.1's $10/$50/$0.25. Cache writes $10 (5m) / $16 (1h) = the usual 1.25x / 2x of input.
|
|
1694
|
+
inputPrice: 8,
|
|
1695
|
+
outputPrice: 40,
|
|
1696
|
+
cacheHitPrice: 0.2
|
|
1694
1697
|
},
|
|
1695
1698
|
[SupportedAiModels[LLM_CONSTANTS.CLAUDE_OPUS].modelApiName]: {
|
|
1696
1699
|
// Opus 5.5 (2026-09-22): $4/$20, down from Opus 5's $5/$25. Cache reads are 5% of input
|