28 lines
541 B
Plaintext
28 lines
541 B
Plaintext
|
|
# X-Agents Python Agent Environment Configuration
|
||
|
|
|
||
|
|
# API Settings
|
||
|
|
API_HOST=0.0.0.0
|
||
|
|
API_PORT=8001
|
||
|
|
|
||
|
|
# Go Backend URL (for tool sync)
|
||
|
|
GO_BACKEND_URL=http://localhost:8080
|
||
|
|
|
||
|
|
# LLM Provider (openai/anthropic)
|
||
|
|
LLM_PROVIDER=openai
|
||
|
|
|
||
|
|
# LLM API Key (required for actual LLM calls)
|
||
|
|
LLM_API_KEY=your-api-key-here
|
||
|
|
|
||
|
|
# LLM Model
|
||
|
|
LLM_MODEL=gpt-4o
|
||
|
|
|
||
|
|
# Optional: Custom LLM Base URL (for proxy/alternative endpoints)
|
||
|
|
# LLM_BASE_URL=https://api.openai.com/v1
|
||
|
|
|
||
|
|
# Workspace for agent files
|
||
|
|
WORKSPACE=./workspace
|
||
|
|
|
||
|
|
# Agent settings
|
||
|
|
MAX_ITERATIONS=10
|
||
|
|
TEMPERATURE=0.7
|