Skip to content

Default model when invoking aider via script using GPT-4 instead of GPT-4-turbo #537

Closed
@ghost

Description

When asking questions or reporting issues, it is very helpful if you can include:

  • Aider version: 0.27
  • Model being used: gpt-4 instead of gpt-4-turbo-preview
  • Other switches or config settings that are active

When I invoke Aider via a python script, the default model (in aider/models/init.py) is GPT4 = Model.create("gpt-4"). This is causing gpt-4 to be used via the script instead of the turbo (incurring higher costs)

Happy to push a PR for these changes if you'd like, let me know if you want to update the default model or create a separate GPT4Turbo model that can be passed into Coder.create

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions