Asksage usage fetch models (#7329)

* Add flagship models

* Add model fetching

* Add usage handling, tool result handling

* Update AskSageProvider.tsx

* Create eight-pants-explode.md

---------

Co-authored-by: alex-mcgraw-askSage <alex.mcgraw@asksage.ai>
This commit is contained in:
Lunaandalex-mcgraw-askSage authored and GitHub committed 2025-11-27 12:35:00 -06:00
1 parent fab49e810b
commit c312c4aef6
4 files changed
+168 -4

No files matched your search

+40
View File
@@ -2664,6 +2664,46 @@ export const askSageModels = {
"google-gemini-2.5-pro": {
maxTokens: 65536,
contextWindow: 1_048_576,
supportsImages: true,
supportsPromptCache: false,
inputPrice: 0,
outputPrice: 0,
},
"google-claude-45-sonnet": {
maxTokens: 64000,
contextWindow: 200_000,
supportsImages: true,
supportsPromptCache: false,
inputPrice: 0,
outputPrice: 0,
},
"google-claude-4-opus": {
maxTokens: 32000,
contextWindow: 200_000,
supportsImages: true,
supportsPromptCache: false,
inputPrice: 0,
outputPrice: 0,
},
"gpt-5": {
maxTokens: 65536,
contextWindow: 2_097_152,
supportsImages: false,
supportsPromptCache: false,
inputPrice: 0,
outputPrice: 0,
},
"gpt-5-mini": {
maxTokens: 32768,
contextWindow: 1_048_576,
supportsImages: false,
supportsPromptCache: false,
inputPrice: 0,
outputPrice: 0,
},
"gpt-5-nano": {
maxTokens: 16384,
contextWindow: 262_144,
supportsImages: false,
supportsPromptCache: false,
inputPrice: 0,