Skip to content

Commit

Permalink
chore: update openai model prefixes
Browse files Browse the repository at this point in the history
  • Loading branch information
zhudotexe committed Nov 6, 2023
1 parent 136583d commit a2ef623
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions kani/engines/openai/engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,11 @@

# https://platform.openai.com/docs/models
CONTEXT_SIZES_BY_PREFIX = [
("gpt-3.5-turbo-1106", 16384),
("gpt-3.5-turbo-16k", 16384),
("gpt-3.5-turbo", 4096),
("gpt-4-1106", 128000),
("gpt-4-vision", 128000),
("gpt-4-32k", 32768),
("gpt-4", 8192),
# fine-tunes
Expand Down

0 comments on commit a2ef623

Please sign in to comment.