mirror of
https://github.com/OpenBMB/ChatDev.git
synced 2026-11-18 16:00:59 +00:00
30 lines
1.2 KiB
Plaintext
30 lines
1.2 KiB
Plaintext
# ============================================================================
|
|
# LLM Provider Configuration
|
|
# ============================================================================
|
|
# BASE_URL and API_KEY are the standard configurations for model call authentication.
|
|
# These variables support OpenAI, Gemini, LM Studio, Ollama, and other providers.
|
|
|
|
BASE_URL=https://api.openai.com/v1
|
|
API_KEY=sk-your-openai-api-key-here
|
|
|
|
# Disabled by default. Enable only for trusted workflows; this is not a sandbox.
|
|
# Covers Python nodes, code_save_and_run, execute_code, uv tools, Manim, and local MCP.
|
|
# Set in the server environment; workflow vars and tool env overrides cannot enable it.
|
|
MAC_ALLOW_UNSAFE_CODE_EXECUTION=0
|
|
|
|
# Example BASE_URL values:
|
|
# - OpenAI: https://api.openai.com/v1
|
|
# - Gemini: https://generativelanguage.googleapis.com
|
|
# - LM Studio: http://localhost:1234/v1
|
|
# - Ollama: http://localhost:11434/v1
|
|
|
|
# ============================================================================
|
|
# Optional: Web Search and Reading Tools
|
|
# ============================================================================
|
|
|
|
# SERPER_DEV_API_KEY=your-serper-api-key-here
|
|
# Get from: https://serper.dev
|
|
|
|
# JINA_API_KEY=your-jina-api-key-here
|
|
# Get from: https://jina.ai
|