Commit History

Security: Load API keys from environment variable
026c0c9
Running

Aniket2006 commited on

Fix: Pass user query to LLM context in Fast Lane and Deep Dive stages
7f34cf9

Aniket2006 commited on

Add language matching: respond in same language as user query (Hindi/English/Hinglish)
9c22892

Aniket2006 commited on

Fix: Handle list type in context_priority_used extraction
882becc

Aniket2006 commited on

Upgrade to Hybrid Architecture v3 (Fast Lane + Deep Dive)
e2d9873

Aniket2006 commited on

Add 21 Groq API keys with fallback mechanism
f895e11

Aniket2006 commited on

Update Groq API keys with rotation logic
3d6dd09

Aniket2006 commited on

Update Groq API key
1190215

Aniket2006 commited on

Update Groq API key
499a614

Aniket2006 commited on

feat: migrate from Gemini to Groq API for LLM calls
f0c4cb2

Aniket2006 commited on

Increase max_output_tokens to 4096 to prevent response truncation
dcb1582

Aniket2006 commited on

Complete rewrite: direct API fetch, proper vegetation indices + cluster stress extraction
d6e5751

Aniket2006 commited on

Fix: format specifier error in SAR section
65058ca

Aniket2006 commited on

Fix: extract Sentinel-2 vegetation_indices_summary and SAR crop_health
15baaaf

Aniket2006 commited on

Improve prompt: force data-specific responses, add context logging
f11af9a

Aniket2006 commited on

Fix: handle None values in SAR bands section
c187541

Aniket2006 commited on

Fix: add defensive null checks in generate_response
258275e

Aniket2006 commited on

Add comprehensive context: all indices, SAR, weather, persona-based responses
c7df30e

Aniket2006 commited on

Switch to gemini-2.5-flash (2.0 quota exhausted)
bec40f7

Aniket2006 commited on

Fix: use gemini-2.0-flash model
ee7723b

Aniket2006 commited on

Add /chat/stream endpoint for Flutter compatibility
b965fde

Aniket2006 commited on

Add google-generativeai package
89ca989

Aniket2006 commited on

Restore original simple chatbot from initial commit
cb547c1

Aniket2006 commited on

Simplify chatbot: single LLM call, remove complex reasoning
aaf7391

Aniket2006 commited on

Fix: record_api_call once per query, not per key rotation
83e9fb0

Aniket2006 commited on

Pass skip_llm=True to Sentinel2, enforce 5 calls/minute limit
56a0fa6

Aniket2006 commited on

Add strict 5 calls/minute rate limit with smart fallback
87f35a1

Aniket2006 commited on

Reduce API usage: default to simple reasoning (1 call), add backoff
dd7cfa9

Aniket2006 commited on

Add SSE streaming endpoint /chat/stream for typewriter effect
5d82df6

Aniket2006 commited on

Remove conversation history from LLM context to reduce tokens
7b3dbf5

Aniket2006 commited on

Enhanced compact context: ALL 13 indices, clusters, prev_analysis, conv_history
a8d7d80

Aniket2006 commited on

Add compact prompts and context builder - reduces token usage by ~50%
cb3e125

Aniket2006 commited on

Fix: add 400 to rotation triggers for invalid API keys
0f136d3

Aniket2006 commited on

Fix: pass context to _generate_response for persona/zone/trend/weather
a6e4432

Aniket2006 commited on

Add 5-key Gemini API fallback, conversation memory, historical trends, and zone recommendations
504a512

Aniket2006 commited on

Lower confidence thresholds for satellite data fetch and reasoning
a7903f2

Aniket2006 commited on

Fix maybeSingle not supported - use execute and check results
9d8c05a

Aniket2006 commited on

Fix user_profiles query - use address column instead of location
b014757

Aniket2006 commited on

Full Developer Spec implementation: Priority-based Multi-Stage Reasoning
ee8289e

Aniket2006 commited on

Add satellite band data injection from HF Space APIs (SAR, Sentinel-2)
2221290

Aniket2006 commited on

Auto-fetch field data (coordinates, crop_type) from Supabase
3fad61c

Aniket2006 commited on

Fix: Copy all Python files in Dockerfile
f3a54eb

Aniket2006 commited on

Implement multi-stage reasoning architecture (Claim→Validate→Contradict→Confirm)
e2fa5a7

Aniket2006 commited on

Add auto model discovery to find working Gemini model
07a23c0

Aniket2006 commited on

Try gemini-1.5-flash model
c7be993

Aniket2006 commited on

Switch to gemini-1.5-flash-8b for higher rate limits
c36a5b7

Aniket2006 commited on

Add retry logic for rate limits
99bff2e

Aniket2006 commited on

Try gemini-2.0-flash-exp model
126daae

Aniket2006 commited on

Fix: Use v1beta API and add better error logging
fcbe917

Aniket2006 commited on

Fix: Use gemini-pro with v1 API endpoint
0a05e0c

Aniket2006 commited on