mirror of
https://github.com/MervinPraison/PraisonAI.git
synced 2026-11-07 12:47:55 -10:00
Document Evolink's OpenAI-compatible endpoint in the sample environment and add a provider example that uses the existing PraisonAI base_url/api_key configuration path. Cover the config wiring with an offline unit test so the integration stays regression-tested without live API calls.
53 lines
2.5 KiB
Bash
53 lines
2.5 KiB
Bash
# PraisonAI Environment Variables
|
|
# Copy this file to .env and update with your actual values
|
|
|
|
# === Required ===
|
|
OPENAI_API_KEY=sk-... # OpenAI key for LLM calls. Get yours at https://platform.openai.com
|
|
|
|
# === Required for Claw web-search tool ===
|
|
TAVILY_API_KEY=tvly-... # Get yours at https://app.tavily.com (free tier available)
|
|
|
|
# === Optional: Claw dashboard security ===
|
|
PRAISONAI_ALLOW_LOCAL_TOOLS=0 # Set to 1 to enable local shell tools (security risk)
|
|
|
|
# === Optional: Alternative LLM Providers ===
|
|
ANTHROPIC_API_KEY=sk-ant-... # Anthropic Claude models
|
|
GOOGLE_API_KEY=... # Google Gemini models
|
|
GROQ_API_KEY=gsk_... # Groq (fast inference)
|
|
COHERE_API_KEY=... # Cohere models
|
|
AZURE_OPENAI_API_KEY=... # Azure OpenAI
|
|
AZURE_OPENAI_ENDPOINT=... # Azure OpenAI endpoint
|
|
EVOLINK_API_KEY=... # EvoLink.AI OpenAI-compatible models. Get yours at https://evolink.ai/dashboard/keys
|
|
|
|
# === Optional: Memory backends ===
|
|
MEM0_API_KEY=... # Mem0 memory service
|
|
REDIS_URL=redis://localhost:6379 # Redis for state management
|
|
|
|
# === Optional: Observability ===
|
|
LANGFUSE_SECRET_KEY=sk-lf-... # Langfuse tracing
|
|
LANGFUSE_PUBLIC_KEY=pk-lf-... # Langfuse public key
|
|
|
|
# === Optional: Bot platforms ===
|
|
TELEGRAM_BOT_TOKEN=... # Telegram bot token
|
|
DISCORD_BOT_TOKEN=... # Discord bot token
|
|
SLACK_BOT_TOKEN=xoxb-... # Slack bot token
|
|
SLACK_APP_TOKEN=xapp-... # Slack app token
|
|
WHATSAPP_ACCESS_TOKEN=... # WhatsApp bot access token
|
|
WHATSAPP_PHONE_NUMBER_ID=... # WhatsApp phone number ID
|
|
|
|
# === Optional: Database ===
|
|
DATABASE_URL=sqlite:///~/.praison/database.sqlite # Database connection string
|
|
|
|
# === Optional: Tool Security ===
|
|
# ALLOWED_TOOLS=search,send_message # Whitelist specific tools to prevent name collisions
|
|
# Useful in multi-environment setups with overlapping tool names
|
|
# Leave unset to use all tools (with collision warnings)
|
|
# Do NOT set to empty string: that's treated as configuration error
|
|
# In CI, unknown tool names in the whitelist cause strict startup failure
|
|
# HERMES_ONLY_TOOLS=search,send_message # (Deprecated) Backward compatibility alias for ALLOWED_TOOLS
|
|
|
|
# === Optional: Development ===
|
|
LOGLEVEL=INFO # Logging level (DEBUG, INFO, WARNING, ERROR)
|
|
CHAINLIT_AUTH_SECRET=... # Chainlit authentication secret
|
|
DEBUG=false # Enable debug mode
|