Add model selection to OpenAI setup for enhanced customization #29
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces a new feature to the OpenAI setup process, allowing users to select their preferred language model during configuration. Key changes include:
OPENAI_CHAT_MODELin environment variables to store the selected model.gpt-4,gpt-3.5-turbo, and others.OpenAIProviderto dynamically utilize the selected model in API requests, with a default fallback togpt-4o-mini.ChatModeltyping from OpenAI's resources.0.3.0to reflect the new feature.This update provides users with greater flexibility and control over the language model, improving customization to better meet diverse requirements.