Skip to content

fix: update deprecated OpenAI models to gpt-4o-mini in examples#733

Merged
skrawcz merged 3 commits intoapache:mainfrom
andreahlert:fix/update-openai-models-521
Apr 10, 2026
Merged

fix: update deprecated OpenAI models to gpt-4o-mini in examples#733
skrawcz merged 3 commits intoapache:mainfrom
andreahlert:fix/update-openai-models-521

Conversation

@andreahlert
Copy link
Copy Markdown
Collaborator

Replaces gpt-3.5-turbo and gpt-4 with gpt-4o-mini across 8 example files. Follows the same pattern as #655.

opentelemetry/application.py is intentionally excluded since it's already covered by #655.

Closes #521

Replaces gpt-3.5-turbo and gpt-4 references with gpt-4o-mini across
8 example files. Closes apache#521.
@andreahlert andreahlert added kind/cleanup Refactor, typos, tech debt area/examples Relates to /examples good first issue Good for newcomers labels Apr 9, 2026
@andreahlert andreahlert self-assigned this Apr 9, 2026
choose_mode uses gpt-4o (replaces gpt-4) to preserve the intentional
two-tier model design. chat_response uses gpt-4o-mini (replaces gpt-3.5-turbo).
Replaces gpt-3.5-turbo with gpt-4o-mini and gpt-4-turbo-preview with
gpt-4o in 5 example notebooks. Skips parallelism/notebook.ipynb which
intentionally uses multiple models to demonstrate parallel execution.
@andreahlert andreahlert requested review from elijahbenizzy and skrawcz and removed request for skrawcz April 9, 2026 14:07
@skrawcz skrawcz merged commit c73b24c into apache:main Apr 10, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/examples Relates to /examples good first issue Good for newcomers kind/cleanup Refactor, typos, tech debt

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update all examples to use latest openai models

2 participants