Skip to content

Commit

Permalink
Fix the bug of oversized output tokens in gpt-3.5-turbo-1106.
Browse files Browse the repository at this point in the history
  • Loading branch information
yym68686 committed Nov 9, 2023
1 parent 0d62962 commit 09bd5fc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion chatgpt2api/chatgpt2api.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,10 @@ def __init__(
if "gpt-4-32k" in engine
else 7000
if "gpt-4" in engine
else 4000
if "gpt-3.5-turbo-1106" in engine
else 15000
if "gpt-3.5-turbo-16k" in engine or "gpt-3.5-turbo-1106" in engine
if "gpt-3.5-turbo-16k" in engine
else 99000
if "claude-2-web" in engine or "claude-2" in engine
else 4000
Expand Down

0 comments on commit 09bd5fc

Please sign in to comment.