fix(ai): support Terra completion token limits (#44)

This commit is contained in:
2026-11-25 09:51:55 +01:00
parent a52268cf71
commit 3983e49ff8
6 changed files with 101 additions and 3 deletions

View File

@ -52,6 +52,9 @@ func Lookup(provider, model string) (Profile, bool) {
switch provider {
case "openai":
switch model {
case "gpt-6.1-terra":
window = 1050000
input = 1050000
case "gpt-4o-mini", "gpt-4o-mini-2024-07-18", "gpt-4o", "gpt-4o-2024-08-06":
window = 128000
input = 128000