Skip to content

v3.8.0

Choose a tag to compare

@adham90 adham90 released this 06 Mar 16:07
· 78 commits to main since this release

Added

  • Inception Labs Mercury provider — New provider for diffusion-based LLMs via Inception Labs API. Includes model registry, capabilities detection, and chat integration. Configure with config.inception_api_key
  • AgentRegistry service — Centralized agent discovery combining filesystem scanning with execution history for dashboard agent listings
  • Dashboard performance indexes — New composite indexes ([status, created_at], [model_id, status], [cache_hit, created_at]) for dashboard query optimization. Available via upgrade generator

Changed

  • Dashboard query optimization — Rewrote analytics queries to use SQL GROUP BY with conditional aggregation instead of loading records into Ruby. Reduces dashboard page load from ~75 SQL queries to ~10
  • Thin controllers — Extracted query logic from dashboard and agents controllers into models and AgentRegistry service
  • Consolidated instrumentation — Deprecated legacy Instrumentation module in favor of pipeline middleware, DRY'd up shared logic
  • Thread-safe tenant API keys — Store tenant API keys on pipeline context instead of mutating global configuration

Fixed

  • Code quality — Fixed error logging, race conditions in budget tracking, tenant scoping, XSS in views, and test mock violations
  • Flaky test — Fixed tenant_auto_create_spec test pollution from leaked track_executions config
  • Test coverage — Added specs for TenantsController, SystemConfigController, ExecutionDetail, and Mercury provider