AbanteAI / spice

accelerant
Apache License 2.0
4 stars 2 forks source link

Add support for GPT-4-0806 model in models.py #98

Closed mentatai[bot] closed 3 months ago

mentatai[bot] commented 3 months ago

Objective

Add support for the new GPT-4-0806 model in the models.py file, including its updated pricing.

Background

OpenAI has released a new version of GPT-4, known as GPT-4-0806, which offers improved performance and lower prices. We need to update our spice/models.py file to include this new model option.

Implementation Steps

  1. Update the spice/models.py file:
    • Add a new TextModel instance for GPT-4-0806.
    • Update the pricing information for this new model.
  2. Ensure that the new model is properly registered in the models list.
  3. Update any relevant documentation or README files to mention the new model option.
  4. Add tests to ensure the new model can be selected and used correctly.

Code Changes

Testing

Documentation

Updated relevant documentation, such as README.md, to include information about the new GPT-4-0806 model option.

Closes #97

Thanks for using MentatBot. Give comments a :+1: or :-1: to help me improve!