Skip to content

Gemini file#11

Open
Splash791 wants to merge 14 commits into
trynamergefrom
gemini-file
Open

Gemini file#11
Splash791 wants to merge 14 commits into
trynamergefrom
gemini-file

Conversation

@Splash791

Copy link
Copy Markdown
Collaborator

No description provided.

chostudio and others added 13 commits May 30, 2026 21:47
- Integrated google-generativeai library for Gemini 2.5 Flash model
- Auto-loads environment variables from .env file
- Generates comprehensive farm health reports with 4 category scores
- Pre-generated report cached for instant loading (<50ms)
- Strips markdown code blocks from JSON responses
- Removed OpenRouter dependency, uses only Gemini API

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
- PDF: farm_health_report.pdf (3.7 KB) - formatted report with scores table
- TXT: farm_health_report.txt (3.4 KB) - text version for easy viewing
- Both files contain complete farm analysis with 82/100 overall score
- Includes category breakdown and detailed recommendations

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
- Cleaned up markdown formatting (##, **, etc.)
- Proper spacing and section headers
- Easy to read plain text format
- Maintains all analysis content

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
- Moved PDF and TXT reports from /reports to /backend
- Removed reportData.json from frontend tracking
- Reports now stored with backend code

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
- Added farm_health_report.tex (LaTeX source format)
- Regenerated PDF with professional LaTeX-style formatting
- Improved table styling and typography
- Removed reports directory from codebase

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
- Cleaned LaTeX source file
- Cleaned text file
- Reports now use clean formatting without markdown symbols

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
- Removed ##, #, **, *, > from text file
- Clean plain text format for easy reading
- Proper spacing and section breaks

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
- Regenerated PDF without markdown syntax
- Clean professional formatting
- All content preserved with proper styling

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
- Updated App.tsx, Overlay.tsx, Report.tsx
- Added new components: SoilDashboard, ThreeDViewer, ReviewPage, etc.
- Added DroneScanner and related UI components
- Integrated soil sensor overlays and nitrogen heatmap
- Added weed and problem markers
- Updated styles and main.tsx

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
- Changed fetch from /api/report to http://localhost:8001/api/report
- Frontend (port 5173) can now properly reach backend (port 8001)
- Report generation will now load properly instead of hanging

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants