Skip to content
mentoor

Topic 3 of 5 · 4 min read

Deprecations, retirements and breaking changes

Goal: Turn a deprecation notice into a dated action list covering every affected model, parameter and deadline.

A deprecation notice is a countdown with a list of things that stop working. Turn it into a dated action list: what breaks, who owns it, what replaces it and by when.

Check yourself · 1 of 3

A notice says a model is deprecated now and retires in six months. What does deprecated mean at this point?

Choose one answer

Why it matters

Models and parameters do not live forever. Vendors announce that a model is deprecated, then retire it on a set date. After that date, calls to that model fail. Other changes are quieter: an alias moves to a newer model, a parameter is removed, a default value changes. A prompt that worked last quarter may return worse answers or an error with no change on your side.

How to do it

  1. Know the stages. Deprecated means "still works, plan to leave". Retired or shut down means "stops working". A notice usually gives both dates.
  2. Find every place you use the thing. Search code, config files, no-code automations, scheduled jobs, notebooks, and shared prompt libraries. People forget the weekly report script and the spreadsheet add-on.
  3. Check what replaces it. The notice names a recommended replacement. It is not always a drop-in: names, limits, parameters and style of answer can differ.
  4. Check the other lines. A model notice often sits beside removed parameters, renamed fields or changed defaults. Read the whole entry, not only the headline.
  5. Write the plan with dates. Work back from the retirement date: test the replacement, update prompts, roll out, then confirm nothing still calls the old id.
  6. Test with your own prompts. A replacement can follow instructions a little differently, so run your saved examples before the switch.

Before and after

Before: "Something about an old model going away next year. We'll deal with it later."

After:

  • Today: search for the old model id in all repos and automations.
  • By end of month: run our 20 saved prompts on the replacement and compare.
  • Two weeks before retirement: switch production to the replacement.
  • Retirement day: confirm no calls to the old id remain in the logs.

What goes wrong

  • Waiting for the retirement date. After it, your calls fail. The safe window is the time before it.
  • Missing the hidden caller. A forgotten script keeps using the old id until it errors.
  • Trusting a drop-in swap. A changed default, such as a different sampling setting or output length, can alter results without any error.
  • Ignoring the alias move. If an alias points to a new model, behaviour changes even though your id stayed the same.

Optional code branch

Search is the first step:

grep -rn "old-model-id" ./src ./config ./scripts

Then add a log line or a monitor that counts calls to the old id until it reads zero.

Examples

From notice to action list

Notice: model X is deprecated now and retires on a stated date; parameter Y is removed in the same release; replacement is model Z.

Item Action Owner
Model X in the support bot Test model Z, then switch Platform team
Model X in the weekly report script Find and update Data analyst
Parameter Y in our request wrapper Delete and re-test output length Platform team
Retirement day Confirm zero calls to model X Platform team

A change with no error

A vendor changes the default for a setting that controls answer length. Your prompt does not set it. After the release, summaries become shorter. Nothing is broken in the log, but the output is different. The fix is to set the value explicitly in your request, so a changed default cannot move it.

Key points

  • Deprecated means still working with a planned exit; retired or shut down means calls fail.
  • Search every place the old model id or parameter lives, including scripts, automations and shared prompts.
  • A recommended replacement is not always a drop-in, so run your saved prompts on it before the switch.
  • A moved alias or changed default can alter results with no error and no edit on your side.
  • Work back from the retirement date and finish by confirming the old id is no longer called.

Common mistakes

  • Waiting until the retirement date to start testing the replacement.
  • Searching only the main app and missing scheduled scripts and no-code automations.
  • Assuming the recommended replacement behaves the same without running your own prompts.
  • Reading the model line of a notice and skipping the removed parameters and changed defaults beside it.

Check yourself · 2 of 3

Your prompts call a model through a moving alias. The vendor repoints the alias to a newer model. What happens?

Choose one answer

Check yourself · 3 of 3

Which task belongs in the dated action list for a deprecation notice?

Choose one answer

Practice items, not counted towards your mastery.

Start here

More for this topic