Problem/Motivation

4.1 will be deprecated from ChatGPT, meaning that 5.2 is the way to go. Its cheaper and better, so we should set that as the default provider.

See pricing at:
https://openai.com/api/pricing/

Steps to reproduce

Install the AI and the OpenAI provider on a new site
Setup the OpenAI provider
Check the default models - it will set 4.1.

Proposed resolution

Change to 5.2.

Remaining tasks

User interface changes

API changes

Data model changes

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

marcus_johansson created an issue. See original summary.

arianraeesi’s picture

marcus_johansson’s picture

Issue summary: View changes
marcus_johansson’s picture

Issue summary: View changes
thamas’s picture

Assigned: Unassigned » thamas

thamas’s picture

Assigned: thamas » Unassigned
Status: Active » Needs review

I've updated the default model settings. I've also provided an update hook. Please review!

marcus_johansson’s picture

Status: Needs review » Needs work

Added a comment to remove the update hook - it makes stuff better, but we shouldn't push that change to working systems.

thamas’s picture

Status: Needs work » Needs review

Thanks for the clarification @marcus_johansson! I've removed the update hook.

marcus_johansson’s picture

Status: Needs review » Fixed

Getting merged - thank you @thamas.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

arianraeesi’s picture

Issue tags: -AI Product Development

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.