Spaces:
Sleeping
Sleeping
Commit History
-
Security: Load API keys from environment variable
026c0c9
-
Fix: Pass user query to LLM context in Fast Lane and Deep Dive stages
7f34cf9 -
Add language matching: respond in same language as user query (Hindi/English/Hinglish)
9c22892 -
Fix: Handle list type in context_priority_used extraction
882becc -
Upgrade to Hybrid Architecture v3 (Fast Lane + Deep Dive)
e2d9873 -
Add 21 Groq API keys with fallback mechanism
f895e11 -
Update Groq API keys with rotation logic
3d6dd09
-
Update Groq API key
1190215 -
Update Groq API key
499a614 -
feat: migrate from Gemini to Groq API for LLM calls
f0c4cb2
-
Increase max_output_tokens to 4096 to prevent response truncation
dcb1582 -
Complete rewrite: direct API fetch, proper vegetation indices + cluster stress extraction
d6e5751 -
Fix: format specifier error in SAR section
65058ca -
Fix: extract Sentinel-2 vegetation_indices_summary and SAR crop_health
15baaaf -
Improve prompt: force data-specific responses, add context logging
f11af9a -
Fix: handle None values in SAR bands section
c187541 -
Fix: add defensive null checks in generate_response
258275e -
Add comprehensive context: all indices, SAR, weather, persona-based responses
c7df30e -
Switch to gemini-2.5-flash (2.0 quota exhausted)
bec40f7 -
Fix: use gemini-2.0-flash model
ee7723b -
Add /chat/stream endpoint for Flutter compatibility
b965fde -
Add google-generativeai package
89ca989 -
Restore original simple chatbot from initial commit
cb547c1 -
Simplify chatbot: single LLM call, remove complex reasoning
aaf7391 -
Fix: record_api_call once per query, not per key rotation
83e9fb0 -
Pass skip_llm=True to Sentinel2, enforce 5 calls/minute limit
56a0fa6 -
Add strict 5 calls/minute rate limit with smart fallback
87f35a1 -
Reduce API usage: default to simple reasoning (1 call), add backoff
dd7cfa9 -
Add SSE streaming endpoint /chat/stream for typewriter effect
5d82df6 -
Remove conversation history from LLM context to reduce tokens
7b3dbf5 -
Enhanced compact context: ALL 13 indices, clusters, prev_analysis, conv_history
a8d7d80 -
Add compact prompts and context builder - reduces token usage by ~50%
cb3e125 -
Fix: add 400 to rotation triggers for invalid API keys
0f136d3 -
Fix: pass context to _generate_response for persona/zone/trend/weather
a6e4432 -
Add 5-key Gemini API fallback, conversation memory, historical trends, and zone recommendations
504a512
-
Lower confidence thresholds for satellite data fetch and reasoning
a7903f2 -
Fix maybeSingle not supported - use execute and check results
9d8c05a -
Fix user_profiles query - use address column instead of location
b014757 -
Full Developer Spec implementation: Priority-based Multi-Stage Reasoning
- models.py: Pydantic schemas for all data structures - prompts.py: Enhanced LLM prompts with JSON output formats - context_aggregator.py: Priority-based satellite data formatting - reasoning_engine.py: 4-stage pipeline with evidence chains - priority_mapper.py: Intent-to-context mapping per spec - intent_classifier.py: Enhanced with phrases and regional support - app.py: Spec-compliant response with suggested_followupsee8289e -
Add satellite band data injection from HF Space APIs (SAR, Sentinel-2)
2221290 -
Auto-fetch field data (coordinates, crop_type) from Supabase
3fad61c -
Fix: Copy all Python files in Dockerfile
f3a54eb -
Implement multi-stage reasoning architecture (Claim→Validate→Contradict→Confirm)
e2fa5a7 -
Add auto model discovery to find working Gemini model
07a23c0 -
Try gemini-1.5-flash model
c7be993 -
Switch to gemini-1.5-flash-8b for higher rate limits
c36a5b7 -
Add retry logic for rate limits
99bff2e -
Try gemini-2.0-flash-exp model
126daae -
Fix: Use v1beta API and add better error logging
fcbe917 -
Fix: Use gemini-pro with v1 API endpoint
0a05e0c