Skip to content

fix(import): cooklang-import 0.12.0, off the models OpenAI removes on 2027-01-14 - #834

Merged
dubadub merged 1 commit into
mainfrom
chore/cooklang-import-0.12
Nov 12, 2026
Merged

dubadub merged 1 commit into
mainfrom
chore/cooklang-import-0.12

Conversation

@dubadub

@dubadub dubadub commented Nov 12, 2026

Copy link
Copy Markdown
Member

cook import converts with OpenAI through cooklang-import. The pinned 0.9.x used gpt-4o-mini as a built-in default and did not read OPENAI_MODEL. OpenAI removes gpt-4o-mini (and gpt-4o, gpt-4.1-mini) from its API on 2027-01-14, so cook import would start failing that day.

cooklang-import 0.12.0 (cooklang/cooklang-import#81):

  • defaults to gpt-6-luna with the request parameters it accepts, reasoning off;
  • honours OPENAI_MODEL and OPENAI_REASONING_EFFORT;
  • moves title generation and text extraction to the same model;
  • treats a truncated answer as an error instead of returning half a recipe.

No source changes here: text_to_cooklang and url_to_recipe keep their signatures. The lockfile moves a number of transitive dependencies with it (0.9.18 → 0.12.0 spans three minor releases).

Checked: cargo test --workspace (1,904 pass), clippy with all features, fmt, and cook import on a public recipe page.

… 2027-01-14

cook import ran on gpt-4o-mini (the library's built-in default; OPENAI_MODEL
was not read). OpenAI removes that model on 2027-01-14.

0.12.0 defaults to gpt-6-luna with the request parameters it accepts,
honours OPENAI_MODEL and OPENAI_REASONING_EFFORT, and moves title generation
and text extraction to the same model.
@claude

claude Bot commented Nov 12, 2026

Copy link
Copy Markdown

Code review

No issues found. Checked for bugs and CLAUDE.md compliance.

@dubadub
dubadub merged commit 3804be4 into main Nov 12, 2026
6 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.

1 participant