chore: replace deprecated gpt-4o-mini model in scaffolds and samples#357
Open
radu-mocanu wants to merge 1 commit into
Open
chore: replace deprecated gpt-4o-mini model in scaffolds and samples#357radu-mocanu wants to merge 1 commit into
radu-mocanu wants to merge 1 commit into
Conversation
There was a problem hiding this comment.
Pull request overview
Updates sample projects to use a non-deprecated default OpenAI model identifier, replacing the previously hard-coded gpt-4o-mini-2024-07-18 with gpt-4.1-mini-2025-04-14 in the UiPath PydanticAI and Google ADK sample entrypoints.
Changes:
- Replace deprecated
gpt-4o-mini-2024-07-18withgpt-4.1-mini-2025-04-14across UiPath PydanticAI sample scripts. - Update the commented OpenAI model example in the UiPath Google ADK quickstart sample to the new default model.
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| packages/uipath-pydantic-ai/samples/structured-io/main.py | Updates the sample’s UiPathChatOpenAI default model to gpt-4.1-mini-2025-04-14. |
| packages/uipath-pydantic-ai/samples/quickstart-agent/main.py | Updates the sample’s UiPathChatOpenAI default model to gpt-4.1-mini-2025-04-14. |
| packages/uipath-pydantic-ai/samples/programmatic-handoff/main.py | Updates the sample’s MODEL constant to gpt-4.1-mini-2025-04-14. |
| packages/uipath-pydantic-ai/samples/multi-agent/main.py | Updates the sample’s MODEL constant to gpt-4.1-mini-2025-04-14. |
| packages/uipath-pydantic-ai/samples/graph-flow/main.py | Updates the sample’s MODEL constant to gpt-4.1-mini-2025-04-14. |
| packages/uipath-google-adk/samples/quickstart-agent/main.py | Updates the commented OpenAI model example to gpt-4.1-mini-2025-04-14. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
37f0d84 to
4b1cdaf
Compare
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Summary
uipath newagent-framework scaffold template togpt-4.1-mini-2025-04-14(wasgpt-4o-mini)gpt-4o-mini/gpt-4o-mini-2024-07-18forgpt-4.1-mini-2025-04-14in pydantic-ai, google-adk, llamaindex, and openai-agents samplesWhy
the
gpt-4o-minifamily is deprecated, so the scaffold generated byuipath newand the samples should default to a current openai model resolved viauip codedagent list-models.