Add comprehensive two-tier architecture where Steward analyzes requests and Tatlock executes with scoped tools. Includes full infrastructure for request preprocessing, tool tracking, benchmarking, and streaming. **Added:** - Steward agent for request analysis and capability recommendation - Household Registry for centralized capability management - Request preprocessing pipeline (Steward → Tatlock flow) - Tool usage tracking and benchmarking system - Streaming transparency (Steward reasoning visible in streams) - Structured logging with operation timing - Redis benchmark storage with 30-day expiry - Benchmark analysis CLI tools **Infrastructure:** - src/agents/steward/ - Steward agent implementation - src/agents/tatlock_core/ - Tatlock capability domain - src/core/preprocessing.py - Request preprocessing pipeline - src/core/tool_tracking.py - Tool call tracking - src/core/benchmarks.py - Benchmark recording system - src/core/household_registry.py - Capability registry - src/core/startup.py - Application startup coordination - src/core/logging_config.py - Structured logging setup **Integration:** - Responses API uses Steward for Tatlock requests - Chat Completions wraps Responses API for OpenAI compatibility - Streaming coordinator supports Steward + Tatlock flow - Tool scoping per request based on Steward recommendations **Testing:** - Integration tests for Steward-Tatlock flow - Benchmark and registry unit tests - Steward streaming tests See PHASE2_PLAN.md and PHASE2_COMPLETE.md for detailed documentation. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
34 lines
668 B
Bash
34 lines
668 B
Bash
# Application Configuration
|
|
APP_NAME="OpenAI-Compatible API"
|
|
APP_VERSION="0.1.0"
|
|
ENVIRONMENT=development
|
|
DEBUG=false
|
|
|
|
# API Configuration
|
|
API_HOST=0.0.0.0
|
|
API_PORT=8000
|
|
API_PREFIX=/v1
|
|
|
|
# Ollama Configuration
|
|
OLLAMA_HOST=http://your-ollama-host:11434
|
|
OLLAMA_DEFAULT_MODEL=mistral-nemo:latest
|
|
OLLAMA_TIMEOUT=120
|
|
|
|
# SearXNG Configuration
|
|
SEARXNG_HOST=http://searxng:8087
|
|
SEARXNG_TIMEOUT=30
|
|
|
|
# Redis Configuration
|
|
REDIS_HOST=redis-shared
|
|
REDIS_PORT=6379
|
|
REDIS_DB=1
|
|
REDIS_TIMEOUT=5
|
|
|
|
# Logging
|
|
LOG_LEVEL=INFO
|
|
ENABLE_BENCHMARKS=true
|
|
# Note: Log format is auto-selected based on ENVIRONMENT (console for dev, json for production)
|
|
|
|
# CORS (comma-separated list)
|
|
CORS_ORIGINS=*
|