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

Specify GPT model as an environment variable #4

Merged
merged 3 commits into from
Jun 9, 2024

Conversation

kromiii
Copy link
Contributor

@kromiii kromiii commented Jun 9, 2024

GPT の model を環境変数で指定できるようにしました
指定されていない場合は gpt-4-turbo が入るようになってます

画像に対応していないモデルが指定される可能性を考慮して、画像が添付されている場合は自動的に gpt-4-vision-preview を使うように戻しました

I have made it possible to specify the GPT model using environment variables. If no model is specified, gpt-4-turbo will be used by default.

Considering the possibility that a model not compatible with images might be specified, I have reverted to automatically using gpt-4-vision-preview when an image is attached.

@kromiii kromiii mentioned this pull request Jun 9, 2024
@pyama86 pyama86 merged commit bad4a3e into pyama86:main Jun 9, 2024
1 check passed
@pyama86
Copy link
Owner

pyama86 commented Jun 9, 2024

ありがtoooth!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants