Spaces:
Running
Running
Commit History
-
feat: Major system enhancements - GPT-5 support, monitoring, translation, and optimizations
Riley +1: ClaudeThis commit includes 15 major improvements to the grant-analyst system: ## New Features ### GPT-5 Model Support (Step 1) - Implemented three-tier GPT-5 model system: - gpt-5-nano for routing and simple decisions - gpt-5-mini for translations and summaries - gpt-5 for complex analysis - Updated token encoding to use o200k_base (GPT-5) with cl100k_base fallback - Updated all configuration files and documentation ### Grant Translation Endpoint (Step 14) - New `/translate` API endpoint for converting grant jargon to simple language - Structured output with 4 sections: eligibility, process, timeline, requirements - Uses gpt-5-mini model for cost-effective translations - Permanent caching in MongoDB (translations don't change) - Batch translation support via `/translate/batch` ### Monitoring & Metrics System (Step 15) - New metrics collection system tracking: - P50/P95/P99 latency per endpoint - Token usage per request (prompt + completion) - Cache hit/miss rates (Redis + Mon…057c21e
-
fix: replace deprecated datetime.utcnow() with timezone-aware datetime.now(timezone.utc)
Riley Coleman +1: Claude- Updated src/logging/logger.py to use datetime.now(timezone.utc) - Updated src/hashing/content_hash.py to use datetime.now(timezone.utc) - Updated tests/test_logging.py to use timezone-aware datetime - Eliminates Python 3.13 deprecation warnings - Maintains backward compatibility with Python 3.11+ - All 45 production tests passing 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>2b58f77