Spaces:
Running
Running
Commit History
-
Implement image support in proxy with vision-aware routing
- Add Anthropic→OpenAI image block conversion with size validation - Update ModelCapabilities with granular vision support fields - Support base64-encoded images with memory optimization - Add 20MB image size limit guard in conversion - Clear base64 data from request blocks to reduce memory footprint - Update mistral-large-3-675b model entry with vision capabilities - Enable vision-aware model routing for image requests Closes: image upload support in Claude Code proxy Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>574e4e7
-
Speed up NIM provider with failure tracking and faster timeouts
- Add ModelHealthTracker for per-model failure tracking (30s TTL) - Faster timeouts: connect=10s, first_chunk=30s, fallback=20s - Auto model pre-checks health before attempting requests - Record failures on timeout/rate-limit for smart fallback - Skip unhealthy models in both router and services Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>a5ea640
-
Speed optimizations and enhanced auto-model fallback routing
- Connection pool tuning: increased max_connections (100→200), max_keepalive (20→50), reduced keepalive_expiry (30s→15s) - NIM concurrency: increased max_concurrency for better throughput - Faster timeouts: connect (30→15s), first_chunk (60→45s), fallback (60→30s) - Retry backoff: reduced base_delay (1→0.5s), max_delay (60→30s) - New trivial request fast-path for hi/ok/status checks - Auto model now routes to all 7 NIM models by default - Pre-flight rate limit check before trying each candidate - Timeout/transient errors trigger automatic fallback to next model - Import cleanup for httpx/asyncio at module level Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>ebba9d6 -
Add smart task-aware routing (Phase 1)
- core/model_capabilities.py: Model capability registry - core/task_detector.py: Detect task requirements from requests - core/chain_engine.py: Multi-model pipeline engine (placeholder) - api/model_router.py: Add resolve_with_task_awareness method Now 'auto' model can detect coding/reasoning and route to best model.4974012 -
Performance optimizations for proxy speed and shared sessions
- Per-provider rate limiting: Zen gets unlimited, NVIDIA NIM gets 40/min - Higher Zen concurrency: 4x max_concurrency for fast minimax model - Connection pool tuning: Keepalive connections for faster reuse - Session tracker: Fair resource sharing across Claude Code instances - Smart auto-routing: Prioritize Zen (no limits), then by load Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>cc3287d -
Deploy claude-code-nvidia proxy to Hugging Face Spaces
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>0157ac7