fix(ai): support Terra completion token limits (#44)
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user