We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de7bebe commit b609820Copy full SHA for b609820
pkg/openai/count.go
@@ -13,7 +13,7 @@ func init() {
13
tiktoken.SetBpeLoader(tiktoken_loader.NewOfflineLoader())
14
}
15
16
-const DefaultMaxTokens = 128_000
+const DefaultMaxTokens = 1_000_000 // This is the limit for GPT-4.1
17
18
func decreaseTenPercent(maxTokens int) int {
19
maxTokens = getBudget(maxTokens)
0 commit comments