Skip to content

Commit

Permalink
gpt40 tokens update (#2717)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hk669 authored and victordibia committed Jul 30, 2024
1 parent 49b02c5 commit bcadd17
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions autogen/token_count_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ def get_max_token_limit(model: str = "gpt-3.5-turbo-0613") -> int:
"gpt-4-0125-preview": 128000,
"gpt-4-turbo-preview": 128000,
"gpt-4-vision-preview": 128000,
"gpt-4o": 128000,
"gpt-4o-2024-05-13": 128000,
}
return max_token_limit[model]

Expand Down

0 comments on commit bcadd17

Please sign in to comment.