Skip to content

fix(ai): update OpenAI defaults past gpt-5-mini shutdown - #529

Merged
aymericzip merged 1 commit into
aymericzip:mainfrom
Anandb71:fix/openai-gpt-5-mini-default
Oct 27, 2026
Merged

aymericzip merged 1 commit into
aymericzip:mainfrom
Anandb71:fix/openai-gpt-5-mini-default

Conversation

@Anandb71

Copy link
Copy Markdown
Contributor

Hey! Quick follow up on the gpt-5-mini default note.

What changed
Swapped the OpenAI model defaults and related docs, examples, templates, and tests:

  • gpt-5-mini → gpt-5.6-terra (main translation / fill default)
  • gpt-4o / gpt-4o-mini defaults → gpt-6-luna (chat, autocomplete, customQuery, and a few examples)

Also fixed translated CI_CD samples where AI_PROVIDER and AI_MODEL were swapped relative to the English version.

Why
OpenAI shuts down gpt-5-mini on Dec 11 2026. Official replacement is gpt-5.6-terra.
Source: https://developers.openai.com/api/docs/deprecations

Same page lists gpt-6-luna as the replacement for the gpt-4o / gpt-4o-mini snapshots we were still using in a few helpers.

How it was tested

  • bun turbo test --filter=./packages/@intlayer/ai → 30/30 pass
  • githubActions.test.ts → 17/17 pass
  • apps/backend translationWorker.test.ts → 17/17 pass
  • Biome/prettier via lint-staged on commit
  • Engine suite still has 2 unrelated failures (installSkills, overrideBuiltEditorConfiguration) that do not touch model strings

Override
Nothing locked in. You can still override the model with intlayer config push or your local ai.model config, same as before.

AI assisted edits were reviewed against CONTRIBUTING and the PR template (no abbreviations, conventional commit, focused swap only). Embedding JSON vectors were left alone on purpose.

Thanks for the warm reply on the email, happy to tweak if you want a narrower scope!

Swap gpt-5-mini to gpt-5.6-terra (OpenAI deprecations, Dec 11 2026)
and gpt-4o / gpt-4o-mini defaults to gpt-6-luna. Update docs, examples,
templates, and tests to match.
@@ -421,24 +421,24 @@ const configEditionFormContent = {
uk: 'Модель ШІ',
}),
placeholder: t({

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

No need t() all placeholder values are the same

@aymericzip
aymericzip merged commit 4650bea into aymericzip:main Oct 27, 2026
1 check 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.

2 participants