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
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.
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.

1 participant