- Fix metric card colors for better visibility (white text on purple gradient)
- Add example query buttons to chat interface for quick testing
- Add API connection status indicator (green/red) to sidebar
- Update default API endpoint to port 8889
- Improve overall accessibility and usability
These changes make the UI more intuitive and easier to use for new users.
Fix API routes and tests to use correct attribute names
- Add pricing constants for OpenAI and local models
- Implement cost calculation per request
- Add baseline cost comparison for savings calculation
- Track dollars and percentage saved
- Route queries based on complexity scores
- Support simple/medium/complex thresholds
- Fallback to heuristics if classifier unavailable
- Define model mappings for each complexity level
feat: add ONNX complexity classifier for inference
- Wrap ONNX model with async-compatible interface
- Use thread pool for CPU-bound inference
- Support batch classification
- Return complexity scores (0.0 = simple, 1.0 = complex)