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

Add GPT-4o-2024-08-06 model to spice/models.py with updated costs #100

Merged
merged 5 commits into from
Aug 10, 2024

Conversation

mentatai[bot]
Copy link
Contributor

@mentatai mentatai bot commented Aug 10, 2024

This commit adds the new GPT-4o-2024-08-06 model to the spice/models.py file. The new model supports Structured Outputs and has reduced costs compared to previous versions. Specifically, the input cost is reduced to 250 (from 500) and the output cost is reduced to 1000 (from 1500). Additionally, the model supports a maximum output of 16,384 tokens.

Changes made:

  1. Added a new TextModel instance for GPT-4o-2024-08-06.
  2. Updated the comment for the existing GPT-4o model to reflect that it currently points to gpt-4o-2024-05-13.

Closes #99

Thanks for using MentatBot. Give comments a 👍 or 👎 to help me improve!

This commit adds the new GPT-4o-2024-08-06 model to the `spice/models.py` file. The new model supports Structured Outputs and has reduced costs compared to previous versions. Specifically, the input cost is reduced to 250 (from 500) and the output cost is reduced to 1000 (from 1500). Additionally, the model supports a maximum output of 16,384 tokens.

Changes made:
1. Added a new `TextModel` instance for GPT-4o-2024-08-06.
2. Updated the comment for the existing GPT-4o model to reflect that it currently points to gpt-4o-2024-05-13.
@mentatai mentatai bot requested a review from biobootloader August 10, 2024 04:15
mentatai bot and others added 4 commits August 10, 2024 04:16
This commit addresses the CI failure caused by formatting issues in the `spice/models.py` file. The file has been reformatted to comply with the project's coding standards.

Changes made:
1. Reformatted `spice/models.py` to pass the `ruff format --check` step in CI.

This should resolve the CI failure and allow the pull request to be merged successfully.
This commit addresses the CI failure caused by formatting issues in the `spice/models.py` file. The file has been reformatted to comply with the project's coding standards, ensuring that the CI pipeline passes successfully.

Changes made:
1. Reformatted `spice/models.py` to meet the required code style guidelines.
@biobootloader biobootloader merged commit c95a4d1 into main Aug 10, 2024
2 checks passed
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.

Add GPT-4o-2024-08-06 model to spice/models.py with updated costs
1 participant