Skip to content

Commit dda618a

Browse files
lbarcziovanforro
andauthored
Adjust the instructions on Vertex configuration (#290)
Co-authored-by: Nikola Forró <[email protected]>
1 parent 6389b94 commit dda618a

File tree

1 file changed

+27
-5
lines changed

1 file changed

+27
-5
lines changed

templates/beeai-agent.env

Lines changed: 27 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,44 @@
1-
# for example gemini:gemini-2.5-pro or anthropic:claude-sonnet-4-20250514 or vertexai:...
1+
# =============================================================================
2+
# MODEL CONFIGURATION
3+
# =============================================================================
4+
# Choose ONE of the following model configurations:
5+
6+
# --- OPTION 1: Direct API Access (gemini: or anthropic: prefix) ---
7+
# Use these for direct API access with API keys
8+
# CHAT_MODEL=gemini:gemini-2.5-pro
9+
# CHAT_MODEL=anthropic:claude-sonnet-4-20250514
10+
11+
# --- OPTION 2: Vertex AI Access (vertexai: prefix) ---
12+
# Use these for Google Cloud Vertex AI with service account credentials
213
# CHAT_MODEL=vertexai:gemini-2.5-pro
3-
# CHAT_MODEL=vertexai:claude-sonnet-4@20250514
14+
# CHAT_MODEL=vertexai:claude-sonnet-4-5
15+
416
CHAT_MODEL=
517

6-
# API key or other credentials corresponding to the model above
18+
# =============================================================================
19+
# CREDENTIALS - Use based on model prefix above
20+
# =============================================================================
21+
22+
# --- FOR gemini: prefix ONLY ---
723
# Request or use existing GCP project
824
# How to: https://source.redhat.com/departments/it/datacenter_infrastructure/itcloudservices/itpubliccloudpage/cloud/gcp/gcpgeminiapi#tab--gemini-models
925
# Google Cloud Console → API & Services → Credentials → API Keys → Show Key
1026
GEMINI_API_KEY=
1127

28+
# --- FOR anthropic: prefix ONLY ---
29+
#ANTHROPIC_API_KEY=
30+
31+
# --- FOR vertexai: prefix ONLY ---
32+
# Setup instructions:
33+
# 1. Get jotnar-vertex-dev.json from Bitwarden (requires access to jotnar group)
34+
# 2. Place the file in .secrets/jotnar-vertex-dev.json in this repository
35+
# 3. Uncomment the variables below
1236
# GOOGLE_VERTEX_PROJECT=jotnar-bot
1337
# # Location is important! Anthropic's models are not available in all locations
1438
# # Right now we have Sonnet 4.5 set up in global, 4.0 is not tied to a location
1539
# GOOGLE_VERTEX_LOCATION=global
1640
# GOOGLE_APPLICATION_CREDENTIALS=/home/beeai/jotnar-vertex-dev.json
1741

18-
#ANTHROPIC_API_KEY=
19-
2042
# BeeAI Framework Configuration
2143
BEEAI_MAX_ITERATIONS=255
2244
BEEAI_MAX_RETRIES_PER_STEP=5

0 commit comments

Comments
 (0)