Skip to content

Commit

Permalink
Merge pull request #411 from rwywawn/bugfix-410
Browse files Browse the repository at this point in the history
fixed gpt3.5 ask bug and bumped version
  • Loading branch information
Kav-K authored Nov 16, 2023
2 parents fef7226 + f0a137b commit 35b9581
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gpt3discord.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
from models.openai_model import Model


__version__ = "12.2.7"
__version__ = "12.2.8"


PID_FILE = Path("bot.pid")
Expand Down
2 changes: 1 addition & 1 deletion models/openai_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -1224,7 +1224,7 @@ async def send_request(
if frequency_penalty_override is None
else frequency_penalty_override,
}
if "preview":
if "preview" in model_selection:
payload[
"max_tokens"
] = 4096 # Temporary workaround while 4-turbo and vision are in preview.
Expand Down

0 comments on commit 35b9581

Please sign in to comment.