MarketSquare / MarketSquare/robotframework-selfhealing-agents

I can't make it work with Gemini Agent

Open
#81 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
27
Forks
3
PR merge metrics
No merged PRs in 30d

Description

As the only providers that can be defined in the configuration parameters are OpenAI, Azure and LiteLLM, I tried using LiteLLM as a proxy for my Gemini account by defining the following parameters in the .env file :

```
LITELLM_API_KEY="XXXXXXXXXX"
BASE_URL="https://generativelanguage.googleapis.com"

ORCHESTRATOR_AGENT_PROVIDER="gemini/"
ORCHESTRATOR_AGENT_MODEL="gemini-2.5-flash"
LOCATOR_AGENT_PROVIDER="gemini/"
LOCATOR_AGENT_MODEL="gemini-2.5-flash"
```

When running Robot Framework (using SeleniumLibrary) with a broken XPath on purpose and after looking at SelfHealingReports logs, the function get_client_model returns None.

Has anyone have experience with making robotframework-selfhealing-agents work with Gemini agent ? (through LiteLLM or another method)

Image

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing get_client_model from the SelfHealingReports logs and reviewing how the .env provider and model parameters are interpreted. Reproduce the broken XPath case with the shown LiteLLM and Gemini settings, then verify that a client/model is resolved and self-healing completes through SeleniumLibrary.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
ai
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.