forked from abstracta/tero
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsample.env
More file actions
82 lines (82 loc) · 5.24 KB
/
sample.env
File metadata and controls
82 lines (82 loc) · 5.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
OPENAI_API_KEY=
OPENAI_MODEL_ID_MAPPING=gpt-4o:gpt-4o,gpt-4o-mini:gpt-4o-mini,gpt-4.1:gpt-4.1,gpt-4.1-nano:gpt-4.1-nano,o4-mini:o4-mini,gpt-5:gpt-5,gpt-5-mini:gpt-5-mini,gpt-5-nano:gpt-5-nano,whisper:whisper-1,text-embedding-3-small:text-embedding-3-small
DB_URL=postgresql+psycopg://postgres:admin@localhost/tero
# To generate a new secret key, run: devbox run generate-secret-key
SECRET_ENCRYPTION_KEY="Lbb-6S2PzX-QZ2Fusu1nagZtrZBqKEaypGTb_kGrNg4="
OPENID_URL=http://localhost:8080/realms/tero
OPENID_CLIENT_ID=tero
OPENID_SCOPE=openid profile
# You can uncomment and set this in case you need to use a different openid url for frontend (this might be necessary for production deployments)
# FRONTEND_OPENID_URL=
# This configuration allows you to only allow to login to the given list of users.
# Specify the users in a comma separated list of usernames, eg: test@test.com,test2@test.com.
# This is particularly handy when you use SSO to authenticate users but you want only to give access to some of them (for example in a dev environment).
ALLOWED_USERS=
# Disable global team members (non-owners) from publishing agents to global team. Set to true to restrict publishing to global owners only.
DISABLE_PUBLISH_GLOBAL=false
# You can uncomment this in case you want to build frontend and try hosting frontend in backend server while running dev environment
# FRONTEND_PATH=../frontend/dist/
FRONTEND_URL=http://localhost:5173
# Contact email displayed in manifest and used as sender address for system emails
CONTACT_EMAIL=support@tero-env.com
# List of Azure endpoints (separated by comma) for each of the OpenAI resources to be used. Eg: https://XXX.openai.azure.com/
AZURE_ENDPOINTS=
# List of API keys (separated by comma) for the provided Azure OpenAI resources
AZURE_API_KEYS=
AZURE_API_VERSION=2025-03-01-preview
# Azure Document Intelligence for advanced PDF processing in Docs tool. If not configured, basic PDF processing will be used.
# Eg: https://XXX.cognitiveservices.azure.com/
AZURE_DOC_INTELLIGENCE_ENDPOINT=
AZURE_DOC_INTELLIGENCE_KEY=
# https://azure.microsoft.com/en-us/pricing/details/ai-document-intelligence/
AZURE_DOC_INTELLIGENCE_COST_PER_1K_PAGES_USD=10.0
# List of llm models with associated Azure OpenAI deployment name and deployment resource list index.
# Format: modelId:deploymentName@resourceIndex,...
# Indexes start at 0, and refer to the list index of the deployment resource in AZURE_ENDPOINTS. When index is not specified 0 is used.
# Only configure the models you actually deployed on azure.
AZURE_MODEL_DEPLOYMENTS=gpt-5-nano:gpt-5-nano,gpt-5-mini:gpt-5-mini,gpt-5:gpt-5,gpt-4o-mini:gpt-4o-mini,whisper:whisper,text-embedding-3-small:text-embedding-3-small
TEMPERATURES=PRECISE:0,NEUTRAL:0.7,CREATIVE:1
# Model for internal generation tasks (e.g., auto-generating agent fields, chat names, cost estimation)
INTERNAL_GENERATOR_MODEL=gpt-4o-mini
INTERNAL_GENERATOR_TEMPERATURE=0.7
# Model for internal evaluations (e.g., determining if agent tests pass by comparing expected vs actual results). If not set, will use INTERNAL_GENERATOR_MODEL
INTERNAL_EVALUATOR_MODEL=gpt-5-mini
MONTHLY_USD_LIMIT_DEFAULT=10
# Default model for new agents. If not set, will use INTERNAL_GENERATOR_MODEL
AGENT_DEFAULT_MODEL=gpt-5-mini
DEFAULT_AGENT_NAME=GPT-5 Nano
# List of models shown by default in the agent editor model selector
AGENT_BASIC_MODELS=gpt-5,gpt-5-mini,gpt-5-nano
EMBEDDING_MODEL=text-embedding-3-small
EMBEDDING_COST_PER_1K_TOKENS=0.000022
TRANSCRIPTION_MODEL=whisper
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_REGION=us-east-1
AWS_MODEL_ID_MAPPING=claude-sonnet-4:anthropic.claude-sonnet-4-20250514-v1:0
GOOGLE_API_KEY=
GOOGLE_MODEL_ID_MAPPING=gemini-2.5-pro:gemini-2.5-pro,gemini-2.5-flash:gemini-2.5-flash
# Chunk size for splitting documents in the docs tool for search and retrieval
DOCS_TOOL_CHUNK_SIZE=4000
DOCS_TOOL_CHUNK_OVERLAP=200
# Number of document chunks to retrieve when searching
DOCS_TOOL_RETRIEVE_TOP=5
# Chunk size and overlap used to generate file descriptions. Descriptions help agents understand when to use files based on their content, without needing to specify it in the system prompt
DOCS_TOOL_DESCRIPTION_CHUNK_SIZE=120000
DOCS_TOOL_DESCRIPTION_CHUNK_OVERLAP=100
# OAuth configuration (used in Jira and MCP tools)
# If a tool oauth token (and refresh token) is not updated for more than this time (43200=30 days), then it is removed from database to avoid potential exploits
TOOL_OAUTH_TOKEN_TTL_MINUTES=43200
# If a tool oauth does not complete wihtin the given amount of minutes, then associated entries are removed to avoid potential exploits
TOOL_OAUTH_STATE_TTL_MINUTES=10
# If mcp oauth client registration is not updated after the given time (259200=6 months aprox), then it is removed from the database to avoid potential exploits
MCP_TOOL_OAUTH_CLIENT_REGISTRATION_TTL_MINUTES=259200
# To configure web tools: set WEB_TOOL_TAVILY_API_KEY or both WEB_TOOL_GOOGLE_CUSTOM_SEARCH_ENGINE_ID and WEB_TOOL_GOOGLE_API_KEY
# If neither service is configured, web tools will not be available
WEB_TOOL_TAVILY_API_KEY=
WEB_TOOL_TAVILY_COST_PER_1K_CREDITS_USD=8.0
WEB_TOOL_GOOGLE_CUSTOM_SEARCH_ENGINE_ID=
WEB_TOOL_GOOGLE_API_KEY=
WEB_TOOL_GOOGLE_COST_PER_1K_SEARCHES_USD=5.0
BROWSER_TOOL_PLAYWRIGHT_MCP_URL=http://localhost:8931/mcp
BROWSER_TOOL_PLAYWRIGHT_OUTPUT_DIR=var/playwright-output