mirror of
https://github.com/outbackdingo/optimclaw.git
synced 2026-08-25 14:53:34 +00:00
Initial implementation of the agent framework
This commit is contained in:
@@ -0,0 +1,45 @@
|
||||
# Database Configuration
|
||||
DATABASE_URL=postgres://near_agent:password@localhost:5432/near_agent
|
||||
DATABASE_POOL_SIZE=10
|
||||
|
||||
# LLM Providers
|
||||
OPENAI_API_KEY=sk-...
|
||||
OPENAI_MODEL=gpt-4-turbo-preview
|
||||
ANTHROPIC_API_KEY=sk-ant-...
|
||||
ANTHROPIC_MODEL=claude-3-opus-20240229
|
||||
|
||||
# Default LLM provider: openai or anthropic
|
||||
LLM_PROVIDER=openai
|
||||
|
||||
# Channel Configuration
|
||||
# CLI is always enabled
|
||||
|
||||
# Slack Bot (optional)
|
||||
SLACK_BOT_TOKEN=xoxb-...
|
||||
SLACK_APP_TOKEN=xapp-...
|
||||
SLACK_SIGNING_SECRET=...
|
||||
|
||||
# Telegram Bot (optional)
|
||||
TELEGRAM_BOT_TOKEN=...
|
||||
|
||||
# HTTP Webhook Server (optional)
|
||||
HTTP_HOST=0.0.0.0
|
||||
HTTP_PORT=8080
|
||||
HTTP_WEBHOOK_SECRET=your-webhook-secret
|
||||
|
||||
# Agent Settings
|
||||
AGENT_NAME=near-agent
|
||||
AGENT_MAX_PARALLEL_JOBS=5
|
||||
AGENT_JOB_TIMEOUT_SECS=3600
|
||||
AGENT_STUCK_THRESHOLD_SECS=300
|
||||
|
||||
# Self-repair settings
|
||||
SELF_REPAIR_CHECK_INTERVAL_SECS=60
|
||||
SELF_REPAIR_MAX_ATTEMPTS=3
|
||||
|
||||
# Safety settings
|
||||
SAFETY_MAX_OUTPUT_LENGTH=100000
|
||||
SAFETY_INJECTION_CHECK_ENABLED=true
|
||||
|
||||
# Logging
|
||||
RUST_LOG=near_agent=debug,tower_http=debug
|
||||
Reference in New Issue
Block a user