PaperTrade / llm_client.py

Commit History

Real direction-accuracy/P&L measurement + BULLISH trigger fixes
5342112

Khanna, Videh Rakesh Rakesh Claude Sonnet 5 commited on

Add NVIDIA NIM as free-tier LLM provider; research + UI updates
8d1eb7b

Khanna, Videh Rakesh Rakesh commited on

llm: bench provider on DAILY quota 429, not just per-minute
e2ee85b

Khanna, Videh Rakesh Rakesh commited on

Fix AI conflicts: persistent retry (no terminal 'AI unavailable'), consistent direction/reasoning, live-anchored 1D/3D targets + gap note
f7bbcd1

Khanna, Videh Rakesh Rakesh commited on

ML model retrain + research updates + news/llm tweaks
8af7f2e

Khanna, Videh Rakesh Rakesh commited on

fix: live price AI context, top5 IST midnight reset, remove Primary Call UI
4550acf

Khanna, Videh Rakesh Rakesh Claude Sonnet 4.6 commited on

feat: Gemini/SambaNova providers, ATR power-law range model, crash-guard triggers, backtest retry rounds
36199b8

Khanna, Videh Rakesh Rakesh Claude Sonnet 4.6 commited on

fix: Ollama timeout 70s, 2-min backoff, safe float in ATR clamp, script fixes
c9902b1

Khanna, Videh Rakesh Rakesh Claude Sonnet 4.6 commited on

fix: realistic AI ranges, Ollama cold-start warmup, price-target prompt
ecf6e61

Khanna, Videh Rakesh Rakesh Claude Sonnet 4.6 commited on

fix: cache Ollama health result, auto-retry top5 on empty cache, fix 3-col tf-grid
dd4fcff

Khanna, Videh Rakesh Rakesh Claude Sonnet 4.6 commited on

feat: AI-owned targets, BUY/SKIP chip, top picks expansion, Ollama last-resort fix
8b303a6

Khanna, Videh Rakesh Rakesh Claude Sonnet 4.6 commited on

fix: dynamic provider reorder + OHLCV cache path + all-TF banner
07b0c62
verified

V1deh commited on

refactor: Ollama 2nd in chain, AI all TFs, max concurrency, JSON mode
a674e14

Khanna, Videh Rakesh Rakesh Claude Sonnet 4.6 commited on

fix: resolve AI unavailable cascade on watchlist predictions
2feef6e

Khanna, Videh Rakesh Rakesh Claude Sonnet 4.6 commited on

fix: increase Ollama timeout to 25s for HF Spaces reliability
5ba1f54

Khanna, Videh Rakesh Rakesh commited on

fix: improve Ollama setup debugging and add configuration guide
f202dd5

Khanna, Videh Rakesh Rakesh commited on

fix: repair Ollama fast-path — wrong model name, wrong API endpoint, latent NameError
5a82b24

Khanna, Videh Rakesh Rakesh Claude Sonnet 4.6 commited on

perf: move Ollama to fast-path, raise concurrency limits for watchlist/top5
312677d

Khanna, Videh Rakesh Rakesh Claude Sonnet 4.6 commited on

feat: add Ollama fallback, request context, and cached OHLCV helpers
385ef79

Khanna, Videh Rakesh Rakesh Claude Sonnet 4.6 commited on

feat: add loophole detection and specialist analysis
c8608d1

Khanna, Videh Rakesh Rakesh commited on

fix: prevent cache poisoning of watchlist predictions + OHLCV thundering herd
c5f144e

Khanna, Videh Rakesh Rakesh Claude Sonnet 4.6 commited on

feat: persistent OHLCV cache, per-TF loading, news sort, UI fixes
eb5babb

Khanna, Videh Rakesh Rakesh Claude Sonnet 4.6 commited on

refactor: extract shared llm_client.py + per-day cache + LLM self-learning + HF Spaces paths
b490925

Khanna, Videh Rakesh Rakesh Claude Sonnet 4.6 commited on