Skip to content

Local deployment for Gemini Not working #2995

@goheesheng

Description

@goheesheng

This is the env:

ENV='local'
ENABLE_OPENAI='false'
OPENAI_API_KEY=''
ENABLE_ANTHROPIC='false'
ANTHROPIC_API_KEY=''
ENABLE_AZURE='false'
AZURE_DEPLOYMENT=''
AZURE_API_KEY=''
AZURE_API_BASE=''
AZURE_API_VERSION=''
ENABLE_AZURE_GPT4O_MINI='false'
AZURE_GPT4O_MINI_DEPLOYMENT=''
AZURE_GPT4O_MINI_API_KEY=''
AZURE_GPT4O_MINI_API_BASE=''
AZURE_GPT4O_MINI_API_VERSION=''
ENABLE_GEMINI='true'
GEMINI_API_KEY='I have hidden this' # I have used the real API KEY
ENABLE_NOVITA='false'
NOVITA_API_KEY=''
LLM_KEY='GEMINI_2.5_PRO_PREVIEW'  #Why is not working?
SECONDARY_LLM_KEY=''
BROWSER_TYPE='chromium-headful'
MAX_SCRAPING_RETRIES='0'
VIDEO_PATH='./videos'
BROWSER_ACTION_TIMEOUT_MS='5000'
MAX_STEPS_PER_RUN='50'
LOG_LEVEL='INFO'
LITELLM_LOG='CRITICAL'
DATABASE_STRING='postgresql+psycopg://skyvern@localhost/skyvern'
PORT='8000'
ANALYTICS_ID='I have hidden this' # I have used the real API KEY
ENABLE_LOG_ARTIFACTS='false'
ENABLE_VOLCENGINE='false'
ENABLE_OPENAI_COMPATIBLE='false'
SKYVERN_BASE_URL='http://localhost:8000'
SKYVERN_API_KEY='I have hidden this'  # I have used the real API KEY

  File "C:\Users\test\Desktop\skyvern\skyvern\forge\sdk\api\llm\models.py", line 110, in dummy_llm_api_handler
    raise NotImplementedError("Your LLM provider is not configured. Please configure it in the .env file.")
NotImplementedError: Your LLM provider is not configured. Please configure it in the .env file.

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