mirror of
https://github.com/OpenBMB/ChatDev.git
synced 2026-04-25 11:18:06 +00:00
feat: add .env.example
This commit is contained in:
parent
9d4a1e1f09
commit
2ff0ee423e
31
.env.example
Normal file
31
.env.example
Normal file
@ -0,0 +1,31 @@
|
||||
# ============================================================================
|
||||
# LLM Provider Configuration (OpenAI-Compatible API)
|
||||
# ============================================================================
|
||||
# This project supports any OpenAI-compatible API provider.
|
||||
# Configure BASE_URL, API_KEY, and MODEL_NAME based on your chosen provider.
|
||||
|
||||
# ----------------------------------------------------------------------------
|
||||
# Option 1: OpenAI
|
||||
# ----------------------------------------------------------------------------
|
||||
BASE_URL=https://api.openai.com/v1
|
||||
API_KEY=sk-your-openai-api-key-here
|
||||
MODEL_NAME=gpt-4o
|
||||
|
||||
# ----------------------------------------------------------------------------
|
||||
# Option 2: Other OpenAI-Compatible Providers
|
||||
# ----------------------------------------------------------------------------
|
||||
# Example for LM Studio
|
||||
|
||||
# BASE_URL=http://localhost:1234/v1
|
||||
# API_KEY=lm-studio
|
||||
# MODEL_NAME=local-model
|
||||
|
||||
# ============================================================================
|
||||
# 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
|
||||
Loading…
x
Reference in New Issue
Block a user