Skip to content

Commit e3d6c4e

Browse files
feat: add support for multiple LLM providers including Azure, Anthropic, Vertex, and Ollama; update example.env and package.json
1 parent f042ba8 commit e3d6c4e

File tree

4 files changed

+415
-7
lines changed

4 files changed

+415
-7
lines changed

example.env

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,26 @@
1+
# LLM provider to use. Options are "openai", "google" (google genai), "vertex", "anthropic", "ollama" or "azure".
12
LLM_PROVIDER=google
2-
OPENAI_API_KEY=OPENAI_API_KEY
3+
4+
# Model to use for the LLM provider.
35
AUTOBROWSE_LLM_MODEL=gemini-2.0-flash-lite
4-
GOOGLE_API_KEY=GOOGLE_API_KEY
6+
7+
# To use "openai" as the LLM provider, set following environment variables and keys.
8+
OPENAI_API_KEY=OPENAI_API_KEY
9+
10+
# To use "google" GenAI as the LLM provider, set following environment variables and keys.
11+
GOOGLE_API_KEY=GOOGLE_API_KEY
12+
13+
# To use "vertex" Google Vertex as the LLM provider, set following environment variables and keys.
14+
GOOGLE_APPLICATION_CREDENTIALS=credentials.json
15+
16+
# To use "anthropic" as the LLM provider, set following environment variables and keys.
17+
ANTHROPIC_API_KEY=ANTHROPIC_API_KEY
18+
19+
# To use "azure" as the LLM provider, set following environment variables and keys.
20+
AZURE_OPENAI_API_KEY=AZURE_OPENAI_API_KEY
21+
AZURE_OPENAI_ENDPOINT=https://yourendpoint.openai.azure.com/
22+
AZURE_OPENAI_API_VERSION=2024-12-01-preview
23+
AZURE_OPENAI_API_DEPLOYMENT_NAME=gpt-4o-mini
24+
25+
# To use "ollama" as the LLM provider, set following environment variables.
26+
BASE_URL=http://localhost:11434

0 commit comments

Comments
 (0)