Commit History

Handle null content in LLM response (NoneType len error)
102af7a

AkshayM commited on

Auto-fallback to mercury when minimax fails (chat + stream)
ed71b77

AkshayM commited on

Safe minimax defaults: no thinking, temp=0.3, max_tokens=4096
536fca2

AkshayM commited on

Profile-aware API key: mercury uses INCEPTION_API_KEY, minimax uses LLM_API_KEY
fe833f1

AkshayM commited on

Minimax uses LLM_BASE_URL env var; mercury always uses inceptionlabs.ai
e2b443d

AkshayM commited on

Remove LLM_BASE_URL env override β€” use profile's own base_url
08f6f02

AkshayM commited on

Keep only mercury + minimax profiles; remove custom profile logic entirely
980aa8d

AkshayM commited on

Drop custom profile as default β€” always default to mercury; minimax remains selectable
17b877a

AkshayM commited on

Speed up analyze: use black_box mode (no thinking, 2K tokens) instead of white_box
3a19fe3

AkshayM commited on

Simplify document_agent: drop JSON parsing, return raw LLM output; fix llm.py syntax errors
7fdb111

AkshayM commited on

feat: query-driven analyze + context window bump
4127275

AkshayM commited on

fix: thinking.type enabled for analyze mode + status event
84db387

AkshayM commited on

fix: increase httpx timeout 120s -> 300s/600s for thinking models
6addc68

AkshayM commited on

fix: thinking.type enabled instead of adaptive for NVIDIA API
1c1c87d

AkshayM commited on

feat: minimax temp=0.1 + thinking adaptive + json output for analyze
28a6ad4

AkshayM commited on

fix: handle LLM_BASE_URL with or without /chat/completions suffix
cc8bded

AkshayM commited on

feat: provider-based LLM profiles + per-request model switching
9a38dd4

AkshayM commited on

fix: tune Mercury 2 params β€” use valid temp range (0.5-0.75), instant reasoning for black-box, high for white-box, reasoning_summary=false for factual paths
835aa37

AkshayM commited on

feat: per-mode reasoning_effort (high for white_box/analyze) + max_tokens 5120
964389b

AkshayM commited on

production hardening: circuit breakers, graceful degradation, health checks, parallel uploads, HF Spaces deploy config
fc2fe9f

AkshayM commited on

fix: correct Inception API base URL (inceptionlabs.ai, not inception.ai)
288a113

AkshayM commited on

fix: add generic LLM_API_KEY/LLM_BASE_URL/LLM_MODEL for any OpenAI-compatible API; fall back from broken api.inception.ai
5e9bd07

AkshayM commited on

fix: handle LLM connection errors gracefully (SSL/connect errors β†’ 502); convert Analyze 500 β†’ 502 with clear message
5d8e007

AkshayM commited on

fix: 15 critical/high bugs across codebase
da3be01

AkshayM commited on

fix models.py: match Neon schema varchar sizes, add email unique constraint
167c070

AkshayM commited on