Skip to content

chore: replace deprecated gpt-4o-mini model in docs and tests#1742

Open
radu-mocanu wants to merge 1 commit into
mainfrom
chore/replace-deprecated-gpt-4o-mini
Open

chore: replace deprecated gpt-4o-mini model in docs and tests#1742
radu-mocanu wants to merge 1 commit into
mainfrom
chore/replace-deprecated-gpt-4o-mini

Conversation

@radu-mocanu

Copy link
Copy Markdown
Collaborator

Summary

  • swap gpt-4o-mini-2024-07-18 for gpt-4.1-mini-2025-04-14 in the bundled eval.md resource and sample eval docs
  • update test fixtures to the current model

Why

the gpt-4o-mini-2024-07-18 model is deprecated, so bundled docs and fixtures should reference a current openai model resolved via uip codedagent list-models.

Copilot AI review requested due to automatic review settings June 23, 2026 12:32

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates bundled evaluation documentation and test fixtures to stop referencing the deprecated gpt-4o-mini-2024-07-18 model, moving to gpt-4.1-mini-2025-04-14 as the recommended/default mini model across docs and tests.

Changes:

  • Replace gpt-4o-mini-2024-07-18 with gpt-4.1-mini-2025-04-14 in the bundled eval.md resource and sample eval command docs.
  • Update multiple test fixtures/assertions (tracing, evaluators, CLI eval mocks, platform LLM service tests) to expect the new model string.
  • Bump uipath package version from 2.11.9 to 2.11.10 and reflect it in the lockfile.

Reviewed changes

Copilot reviewed 10 out of 11 changed files in this pull request and generated no comments.

Show a summary per file
File Description
packages/uipath/uv.lock Updates lock metadata to reflect the uipath version bump.
packages/uipath/pyproject.toml Bumps uipath version to 2.11.10.
packages/uipath/src/uipath/_resources/eval.md Updates bundled eval documentation examples to the new mini model.
packages/uipath/samples/resource-overrides/.claude/commands/eval.md Keeps sample eval command docs aligned with bundled eval documentation model recommendation.
packages/uipath/samples/csv-processor/.claude/commands/eval.md Keeps csv-processor sample eval docs aligned with the new model recommendation.
packages/uipath/tests/tracing/test_otel_exporters.py Updates tracing exporter expectations for llm.model_name / mapped model fields.
packages/uipath/tests/evaluators/test_evaluator_methods.py Updates evaluator config fixture to use the new model string.
packages/uipath/tests/cli/eval/mocks/test_input_mocker.py Updates CLI eval mocking fixtures and assertions to the new model string.
packages/uipath/tests/cli/eval/mocks/test_input_mocker_span.py Updates span simulation mocks/fixtures to the new model string.
packages/uipath-platform/tests/services/test_uipath_llm_integration.py Updates mocked chat completion payloads to the new model string.
packages/uipath-platform/tests/services/test_llm_service.py Updates mocked responses and request params to the new model string.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@sonarqubecloud

Copy link
Copy Markdown

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.

2 participants