Skip to content

Conversation

@akshaylive
Copy link
Collaborator

Legacy evaluators that use LLMs currently initialize UiPath object during instantiation. This fails loading of evaluator in case .env is not found. Fixing it by performing lazy initialization.

Additionally, llm input-mocking also fails all evaluations in case .env is not found. This is a bad dev experience, so handling it gracefully.

@github-actions github-actions bot added test:uipath-langchain Triggers tests in the uipath-langchain-python repository test:uipath-llamaindex Triggers tests in the uipath-llamaindex-python repository labels Jan 14, 2026
@akshaylive akshaylive force-pushed the akshaya/lazy_init branch 2 times, most recently from 5f64c72 to 814d047 Compare January 14, 2026 17:47
Legacy evaluators that use LLMs currently initialize `UiPath` object during instantiation.
This fails loading of evaluator in case `.env` is not found.
Fixing it by performing lazy initialization.

Additionally, llm input-mocking also fails all evaluations in case .env is not found.
This is a bad dev experience, so handling it gracefully.
@akshaylive akshaylive merged commit 64557f8 into main Jan 14, 2026
85 of 86 checks passed
@akshaylive akshaylive deleted the akshaya/lazy_init branch January 14, 2026 18:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test:uipath-langchain Triggers tests in the uipath-langchain-python repository test:uipath-llamaindex Triggers tests in the uipath-llamaindex-python repository

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants