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

chore: Add gpt-4o-2024-08-06 support #353

Merged
merged 1 commit into from
Aug 12, 2024
Merged

Conversation

paul-paliychuk
Copy link
Collaborator

@paul-paliychuk paul-paliychuk commented Aug 11, 2024

🚀 This description was created by Ellipsis for commit dd5afe2

Summary:

Added support for gpt-4o-2024-08-06 model in config.yaml and pkg/llms/llm_base.go.

Key points:

  • Added gpt-4o-2024-08-06 to config.yaml under OpenAI models.
  • Updated pkg/llms/llm_base.go to include gpt-4o-2024-08-06 in ValidOpenAILLMs map.
  • Ensures gpt-4o-2024-08-06 is recognized as a valid model in OpenAI LLM validation logic.

Generated with ❤️ by ellipsis.dev

Copy link
Contributor

@ellipsis-dev ellipsis-dev bot left a 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 in 2 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 of gpt-4o-2024-08-06 to the ValidOpenAILLMs map is correctly implemented, ensuring the new model is recognized as valid by the system. This change aligns with the updated model list in config.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 in config.yaml and llm_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.

@bricemacias
Copy link
Contributor

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

Copy link
Member

@danielchalef danielchalef left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@danielchalef danielchalef merged commit 1d6fb46 into main Aug 12, 2024
5 checks passed
@paul-paliychuk
Copy link
Collaborator Author

paul-paliychuk commented Aug 12, 2024

@bricemacias Yes that is a good idea to default to 4o-mini, a PR would be welcome!

@bricemacias
Copy link
Contributor

@paul-paliychuk done here #354

@danielchalef danielchalef deleted the add-gpt4o-snapshot-model branch September 25, 2024 15:52
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.

3 participants