Spaces:
Running
Running
Commit History
-
fix(debate): stop judge verdict being dropped by LangGraph state schema
Root cause of the production 'NoneType' has no attribute 'verdict': judge_node always produced a valid InvestmentVerdict, but LangGraph silently dropped '_structured_result' because it was not declared in DebateState. whale_hunter/agent then crashed on result.verdict (None) and fell back to single-LLM, so the debate NEVER succeeded. - declare _structured_result in DebateState so the verdict flows through - harden judge: retry empty (None) structured output per model with backoff - judge walks a fallback chain of structured-capable models (3 distinct role models preserved: pitcher=Nemotron 3.5, skeptic=Nemotron Super, judge=Dots3 Note), then parses plain-LLM JSON as last resort - guard empty completions in pitcher/skeptic resilient calls - update README to reflect the real judge model (Dots3 Note)06bc648 -
fix(international): normalize UK per-share metrics + feed real value data to all regions
- P0: normalize UK EPS/book/price (pence->pounds) in analyst_node so the Graham number isn't inflated ~100x; also normalize 52W range in prompt - P0: inject currency-labelled value snapshot (revenue/cash/debt/ratio/EV) into analyst + debate prompts for ALL regions, not just US - P1: remove Finnhub '.'-guards; switch insider feed to global insider-transactions endpoint so non-US symbols get real data - P1: pre-validate Brave tickers (drop zero-cap) + expand seed pools - P2: gatekeeper market-cap size filter now converts native currency to USD - add 40-test suite covering all improvements7d2fdd1