2024-03-01 10:09:30 -08:00
|
|
|
# Environment that the agent will run in.
|
|
|
|
|
ENV=local
|
|
|
|
|
|
2024-03-16 23:13:18 -07:00
|
|
|
# LLM Provider Configurations:
|
|
|
|
|
# ENABLE_OPENAI: Set to true to enable OpenAI as a language model provider.
|
|
|
|
|
ENABLE_OPENAI=false
|
|
|
|
|
# OPENAI_API_KEY: Your OpenAI API key for accessing models like GPT-4.
|
|
|
|
|
OPENAI_API_KEY=""
|
|
|
|
|
|
|
|
|
|
# ENABLE_ANTHROPIC: Set to true to enable Anthropic as a language model provider.
|
|
|
|
|
ENABLE_ANTHROPIC=false
|
|
|
|
|
# ANTHROPIC_API_KEY: Your Anthropic API key for accessing models like Claude-3.
|
|
|
|
|
ANTHROPIC_API_KEY=""
|
|
|
|
|
|
|
|
|
|
# ENABLE_AZURE: Set to true to enable Azure as a language model provider.
|
|
|
|
|
ENABLE_AZURE=false
|
|
|
|
|
# AZURE_DEPLOYMENT: Your Azure deployment name for accessing specific models.
|
|
|
|
|
AZURE_DEPLOYMENT=""
|
|
|
|
|
# AZURE_API_KEY: Your API key for accessing Azure's language models.
|
|
|
|
|
AZURE_API_KEY=""
|
|
|
|
|
# AZURE_API_BASE: The base URL for Azure's API.
|
|
|
|
|
AZURE_API_BASE=""
|
|
|
|
|
# AZURE_API_VERSION: The version of Azure's API to use.
|
|
|
|
|
AZURE_API_VERSION=""
|
|
|
|
|
|
2024-08-02 20:13:30 +08:00
|
|
|
ENABLE_AZURE_GPT4O_MINI=false
|
|
|
|
|
AZURE_GPT4O_MINI_DEPLOYMENT=""
|
|
|
|
|
AZURE_GPT4O_MINI_API_KEY=""
|
|
|
|
|
AZURE_GPT4O_MINI_API_BASE=""
|
|
|
|
|
AZURE_GPT4O_MINI_API_VERSION=""
|
|
|
|
|
|
2024-03-17 20:27:44 -07:00
|
|
|
# LLM_KEY: The chosen language model to use. This should be one of the models
|
2024-03-16 23:13:18 -07:00
|
|
|
# provided by the enabled LLM providers (e.g., OPENAI_GPT4_TURBO, OPENAI_GPT4V, ANTHROPIC_CLAUDE3, AZURE_OPENAI_GPT4V).
|
2024-03-17 20:27:44 -07:00
|
|
|
LLM_KEY=""
|
2024-03-16 23:13:18 -07:00
|
|
|
|
|
|
|
|
# Web browser configuration for scraping:
|
|
|
|
|
# BROWSER_TYPE: Can be either "chromium-headless" or "chromium-headful".
|
2024-03-01 10:09:30 -08:00
|
|
|
BROWSER_TYPE="chromium-headful"
|
2024-03-16 23:13:18 -07:00
|
|
|
# MAX_SCRAPING_RETRIES: Number of times to retry scraping a page before giving up, currently set to 0.
|
2024-03-01 10:09:30 -08:00
|
|
|
MAX_SCRAPING_RETRIES=0
|
2024-03-16 23:13:18 -07:00
|
|
|
# VIDEO_PATH: Path to the directory where videos will be saved.
|
2024-03-01 10:09:30 -08:00
|
|
|
VIDEO_PATH=./videos
|
2024-03-16 23:13:18 -07:00
|
|
|
# BROWSER_ACTION_TIMEOUT_MS: Timeout for browser actions in milliseconds.
|
2024-03-01 10:09:30 -08:00
|
|
|
BROWSER_ACTION_TIMEOUT_MS=5000
|
|
|
|
|
|
2024-03-16 23:13:18 -07:00
|
|
|
# Agent run configuration:
|
|
|
|
|
# MAX_STEPS_PER_RUN: Maximum number of steps to execute per run unless the agent finishes with a terminal state (last step or error).
|
|
|
|
|
MAX_STEPS_PER_RUN=50
|
|
|
|
|
|
|
|
|
|
# Logging and database configuration:
|
|
|
|
|
# LOG_LEVEL: Control log level (e.g., INFO, DEBUG).
|
2024-03-01 10:09:30 -08:00
|
|
|
LOG_LEVEL=INFO
|
2024-03-16 23:13:18 -07:00
|
|
|
# DATABASE_STRING: Database connection string.
|
2024-03-03 23:20:37 -08:00
|
|
|
DATABASE_STRING="postgresql+psycopg://skyvern@localhost/skyvern"
|
2024-03-16 23:13:18 -07:00
|
|
|
# PORT: Port to run the agent on.
|
2024-03-01 10:09:30 -08:00
|
|
|
PORT=8000
|
2024-03-06 15:44:58 -08:00
|
|
|
|
2024-03-16 23:13:18 -07:00
|
|
|
# Analytics configuration:
|
|
|
|
|
# Distinct analytics ID (a UUID is generated if left blank).
|
|
|
|
|
ANALYTICS_ID="anonymous"
|