Skip to content

Commit a3509b2

Browse files
Chibionosclaude
andauthored
fix: restore agent_model for same-as-agent evaluator resolution (#1556)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 39d51e4 commit a3509b2

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

packages/uipath/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "uipath"
3-
version = "2.10.47"
3+
version = "2.10.48"
44
description = "Python SDK and CLI for UiPath Platform, enabling programmatic interaction with automation services, process management, and deployment tools."
55
readme = { file = "README.md", content-type = "text/markdown" }
66
requires-python = ">=3.11"

packages/uipath/src/uipath/_cli/cli_eval.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
from uipath._cli.middlewares import Middlewares
1818
from uipath.core.events import EventBus
1919
from uipath.core.tracing import UiPathTraceManager
20-
from uipath.eval.helpers import EVAL_SETS_DIRECTORY_NAME, EvalHelpers
20+
from uipath.eval.helpers import EVAL_SETS_DIRECTORY_NAME, EvalHelpers, get_agent_model
2121
from uipath.eval.models.evaluation_set import EvaluationSet
2222
from uipath.eval.runtime import UiPathEvalContext, evaluate
2323
from uipath.platform.chat import set_llm_concurrency
@@ -409,6 +409,7 @@ async def execute_eval():
409409
eval_context.evaluators = await EvalHelpers.load_evaluators(
410410
resolved_eval_set_path,
411411
eval_context.evaluation_set,
412+
get_agent_model(eval_context.runtime_schema),
412413
)
413414

414415
# Runtime is not required anymore.

packages/uipath/uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)