Skip to content

armgit / ruflo

Public Imported from GitHub
0

🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated

🔖 Checkpoint: Edit /workspaces/claude-code-flow/examples/litellm/.env.example

rUvd6aad2572099
diff --git a/.claude/checkpoints/1754570912.json b/.claude/checkpoints/1754570912.json
new file mode 100644
index 0000000000..91bea37a86
--- /dev/null
+++ b/.claude/checkpoints/1754570912.json
@@ -0,0 +1 @@
+{"branch": "checkpoint/pre-edit-20250807-124832", "file": "/workspaces/claude-code-flow/examples/litellm/config/config.yaml", "timestamp": "2025-08-07T12:48:32Z", "type": "pre-edit", "original_branch": "alpha-88"}
diff --git a/.claude/checkpoints/1754570913.json b/.claude/checkpoints/1754570913.json
new file mode 100644
index 0000000000..9ad873dc96
--- /dev/null
+++ b/.claude/checkpoints/1754570913.json
@@ -0,0 +1 @@
+{"tag": "checkpoint-20250807-124833", "file": "/workspaces/claude-code-flow/examples/litellm/config/config.yaml", "timestamp": "2025-08-07T12:48:33Z", "type": "post-edit", "branch": "alpha-88", "diff_summary": " .claude-flow/metrics/performance.json | 6 +- .claude-flow/metrics/system-metrics.json | 96 ++++++++++ .claude-flow/metrics/task-metrics.json | 14 +- .claude/checkpoints/1754570831.json | 1 + .claude/checkpoints/1754570833.json | 1 + examples/litellm/config/config.yaml | 294 +++++++++++++++++++++++++++++++ 6 files changed, 398 insertions(+), 14 deletions(-) "}
diff --git a/examples/litellm/.env.example b/examples/litellm/.env.example
new file mode 100644
index 0000000000..193d90f941
--- /dev/null
+++ b/examples/litellm/.env.example
@@ -0,0 +1,81 @@
+# LiteLLM Multi-Tenant Gateway Environment Variables
+# Copy this file to .env and fill in your actual values
+
+# Master Keys
+LITELLM_MASTER_KEY=sk-litellm-master-key-change-me
+LITELLM_SALT_KEY=your-salt-key-for-encryption
+JWT_SECRET=your-jwt-secret-for-auth
+
+# Database Configuration
+DB_PASSWORD=secure-postgres-password
+DATABASE_URL=postgresql://litellm:${DB_PASSWORD}@postgres:5432/litellm
+
+# Redis Configuration
+REDIS_URL=redis://redis:6379
+
+# OpenAI Configuration
+OPENAI_API_KEY=sk-your-openai-api-key
+OPENAI_ORG_ID=org-your-org-id
+
+# OpenRouter Configuration
+OPENROUTER_API_KEY=sk-or-your-openrouter-key
+
+# Azure OpenAI Configuration
+AZURE_API_KEY=your-azure-api-key
+AZURE_API_BASE=https://your-resource.openai.azure.com
+AZURE_API_VERSION=2024-08-01-preview
+
+# Amazon Bedrock Configuration
+AWS_ACCESS_KEY_ID=your-aws-access-key
+AWS_SECRET_ACCESS_KEY=your-aws-secret-key
+AWS_REGION=us-east-1
+
+# Anthropic Configuration (for direct access)
+ANTHROPIC_API_KEY=sk-ant-your-anthropic-key
+
+# Grafana Configuration
+GRAFANA_USER=admin
+GRAFANA_PASSWORD=secure-grafana-password
+
+# PgAdmin Configuration
+PGADMIN_PASSWORD=secure-pgadmin-password
+
+# Tenant API Keys (generate unique keys for each tenant)
+TENANT_ENGINEERING_KEY=sk-eng-unique-api-key
+TENANT_RESEARCH_KEY=sk-res-unique-api-key
+TENANT_OPERATIONS_KEY=sk-ops-unique-api-key
+
+# Monitoring & Alerting
+SLACK_WEBHOOK_URL=https://hooks.slack.com/services/YOUR/WEBHOOK/URL
+PAGERDUTY_API_KEY=your-pagerduty-key
+EMAIL_SMTP_HOST=smtp.gmail.com
+EMAIL_SMTP_PORT=587
+
+# Feature Flags
+ENABLE_MULTI_TENANT=true
+ENABLE_COST_TRACKING=true
+ENABLE_AUDIT_LOGGING=true
+ENABLE_PII_DETECTION=false
+ENABLE_MODEL_BENCHMARKING=true
+ENABLE_AUTO_SCALING=false
+
+# Performance Tuning
+MAX_WORKERS=4
+WORKER_TIMEOUT=300
+KEEPALIVE_TIMEOUT=65
+MAX_REQUESTS=1000
+MAX_REQUESTS_JITTER=50
+
+# Security
+CORS_ORIGINS=["http://localhost:3000", "https://app.company.com"]
+TRUSTED_PROXIES=["127.0.0.1", "10.0.0.0/8"]
+SSL_CERT_PATH=/etc/ssl/certs/litellm.crt
+SSL_KEY_PATH=/etc/ssl/private/litellm.key
+
+# Development Settings (set to false in production)
+DEBUG=false
+RELOAD=false
+LOG_LEVEL=INFO
\ No newline at end of file