Migrate off GPT-4.1 mini before deprecation and make the model configurable per deployment
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 45/100
Research direction
Start by searching ContentFlow for GPT-4.1 mini references across configuration, deployment names, environment variables, code, and prompt/model routing. Review the current model-call entry points and affected flows, then define the replacement and deployment-scoped setting. Done means a supported model is used, each deployment can configure it with a default and validation/fallback, and affected flows pass regression checks.
Written by the indexing model from the issue text.
Description
Summary
GPT-4.1 mini is being deprecated and needs to be replaced with a newer, supported model in ContentFlow before the retirement date to avoid service disruption. In addition, we propose making the model configurable per subscription so future model swaps don't require code changes.
Background
ContentFlow currently depends on a hardcoded GPT-4.1 mini for its model calls. Since this model is scheduled for deprecation, we need to migrate to a supported successor. This was confirmed as still open with Nadeem Ishqair (owner), who requested this issue be filed to track the work.
Problem
- GPT-4.1 mini will be retired; once deprecated, requests to it will fail.
- ContentFlow will break wherever it references the deprecated model unless migrated in time.
- The model is currently not configurable, so every deprecation or model change forces a code/deployment change. This is a recurring maintenance burden.
Proposed work
1. Immediate migration
- Identify all references to GPT-4.1 mini in ContentFlow (config, deployment names, environment variables, code, prompt/model routing).
- Select the replacement model based on cost, latency, and quality parity for ContentFlow's use cases.
- Update configuration/deployment to point to the new model.
- Validate output quality and regression-test the affected ContentFlow flows.
2. Make the model configurable per deployment
- Introduce a configurable model setting scoped to each deployment (e.g., a deployment-level config value / environment variable) instead of a hardcoded model reference.
- ContentFlow should read the model name/deployment from this configuration at runtime, with a sensible default and validation/fallback if an unsupported value is set.
- This lets each deployment select its own model and lets us swap models on future deprecations without code changes.
- Dominant language
- Python
- Stars
- 21
- Forks
- 15
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Azure/contentflow
-
Azure/contentflow#39 · 1 assignee ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
Azure/contentflow#38 ·
-
Azure/contentflow#37 · 1 assignee ·
-
Azure/contentflow#36 · 1 assignee ·
-
Azure/contentflow#35 · 1 assignee ·
All issues in Azure/contentflow
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100