-
Notifications
You must be signed in to change notification settings - Fork 416
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
chore: Add gpt-4o-2024-08-06 support #353
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 Looks good to me! Reviewed everything up to dd5afe2 in 13 seconds
More details
- Looked at
27
lines of code in2
files - Skipped
0
files when reviewing. - Skipped posting
1
drafted comments based on config settings.
1. pkg/llms/llm_base.go:163
- Draft comment:
The addition ofgpt-4o-2024-08-06
to theValidOpenAILLMs
map is correctly implemented, ensuring the new model is recognized as valid by the system. This change aligns with the updated model list inconfig.yaml
. - Reason this comment was not posted:
Confidence changes required:0%
The PR adds support for a new OpenAI model,gpt-4o-2024-08-06
, in the configuration and validation maps. The changes inconfig.yaml
andllm_base.go
are consistent with each other, ensuring that the new model is recognized as valid. The PR description is empty, but the title indicates the intent clearly. The changes are minimal and focused, affecting only the necessary parts of the configuration and validation logic. There are no apparent logical, performance, or security issues with the changes made. The PR seems to be straightforward and correctly implemented based on the intent to support a new model version.
Workflow ID: wflow_PBHFLndfqzqZMxAJ
You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet
mode, and more.
Also maybe in a near future once it has been tested enough, this model could replace the default llm model used in config and in openai tests since it's faster and cheaper (and globally better) than 3.5 turbo. I didn't put it here but I can make a separate PR for this if you want |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
@bricemacias Yes that is a good idea to default to 4o-mini, a PR would be welcome! |
@paul-paliychuk done here #354 |
Summary:
Added support for
gpt-4o-2024-08-06
model inconfig.yaml
andpkg/llms/llm_base.go
.Key points:
gpt-4o-2024-08-06
toconfig.yaml
under OpenAI models.pkg/llms/llm_base.go
to includegpt-4o-2024-08-06
inValidOpenAILLMs
map.gpt-4o-2024-08-06
is recognized as a valid model in OpenAI LLM validation logic.Generated with ❤️ by ellipsis.dev