Skip to content

Ollama Integration #82

Description

@SyedAli-eaton

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!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions