Gaotax2006 [ Elixir ] Fix #99: Add LLM Provider Abstraction Layer#747
Gaotax2006 [ Elixir ] Fix #99: Add LLM Provider Abstraction Layer#747gtx20060124-bot wants to merge 6 commits into
Conversation
- UDF protocol chart data fetching - Technical indicators: SMA, EMA, RSI, MACD, Bollinger, Stochastic, ATR - Signal generation from combined indicators - Multi-timeframe analysis with consolidation - Strategy backtesting (SMA crossover, RSI) - Alert evaluation (oversold, overbought, MA crossover, Bollinger breakout) - Market analysis via TradingView scanner API
…n, fallback, cost tracking, and caching - Lux.LLM.Providers: registry, circuit breaker, cost monitoring, caching - Auto-select provider by model name or task type (:fast, :cheap, :reasoning) - Smart fallback chains with circuit breaker (5 failures → open, 30s timeout) - ETS-based cost tracking with per-provider aggregation - MD5-keyed response cache with configurable TTL - Updated Lux.LLM default delegation from OpenAI -> Providers - Comprehensive unit tests for all components
|
Review pass for #99 acceptance. I think this needs a focused fix before it is merge-ready:
Suggested acceptance gate: remove the unrelated TradingView change, keep the options representation consistent through provider invocation, initialize ETS before any lookup, and add tests for cold |
Fixes #99
Create a universal LLM provider abstraction layer with auto-selection, smart fallback (circuit breaker), cost monitoring, response caching, and a provider registry system.
Files changed
Acceptance checklist