Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed gpt3.5 ask bug and bumped version #411

Merged
merged 1 commit into from
Nov 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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