MarketSquare / MarketSquare/robotframework-selfhealing-agents
Ollama Integration
- Dominant language
- Python
- Stars
- 27
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
Hey everyone!
New to using API keys and everything so bear with me. Does the project support Ollama?
I have been messing with this project for a bit and can't seem to integrate Ollama, specifically model "llama3.1". I have a random "dummy key" in place of the API key since litellm expects it but does not use it for Ollama. My .env file is set as the following:
```
LITELLM_API_KEY="dummy-key"
BASE_URL="http://localhost:11434/"
ORCHESTRATOR_AGENT_PROVIDER="litellm"
LOCATOR_AGENT_PROVIDER="litellm"
ENABLE_SELF_HEALING=True
USE_LLM_FOR_LOCATOR_GENERATION=True
```
The test fails due to the listener failing, consistent with Browser and Selenium tests. The full error listed below:
```
==============================================================================
The Internet Login
==============================================================================
[ ERROR ] Calling method 'end_library_keyword' of listener 'SelfhealingAgents' failed: There is no current event loop in thread 'MainThread'.
Login with valid credentials | FAIL |
TimeoutError: locator.fill: Timeout 5000ms exceeded.
Call log:
- waiting for locator('id=user')
------------------------------------------------------------------------------
The Internet Login | FAIL |
1 test, 0 passed, 1 failed
==============================================================================
```
Any guidance or insight would be helpful since I am trying to learn. Thank you!
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the reported Ollama setup with the provided environment variables and the failing Browser/Selenium test. Inspect the SelfhealingAgents listener entry point, especially end_library_keyword, and compare the listener failure with the locator.fill timeout; done means the test completes without the event-loop error and Ollama integration works with the llama3.1 model.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ollama, python
- Domain
- ai, testing
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100