From b6ea703ef28ee7cd3cc9432e12a4a4a22770b140 Mon Sep 17 00:00:00 2001 From: Floke Date: Thu, 1 Jan 2026 23:02:37 +0000 Subject: [PATCH] Fix Market Intel: Add missing google-generativeai dependency --- GEMINI.md | 3 ++- market-intel.requirements.txt | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/GEMINI.md b/GEMINI.md index fe9fcb75..12fabc2b 100644 --- a/GEMINI.md +++ b/GEMINI.md @@ -59,8 +59,9 @@ The application will be available at `http://localhost:8080`. * **AI Backend:** Migrated to `google.generativeai` via `helpers.call_gemini_flash` with JSON mode support. * **Scraping:** Implemented robust URL scraping using `requests` and `BeautifulSoup` (with `html.parser` to avoid dependency issues). * **Docker:** Container (`gtm-app`) updated with correct volume mounts for logs and config. +* **Market Intelligence Fixed:** Added `google-generativeai` to `market-intel.requirements.txt`. This was necessary because `helpers.py` (which is shared) now relies on this library for all AI operations. * **Gemini Migration:** The codebase is moving towards `google-generativeai` as the primary driver. `helpers.py` now supports this natively. -* **Deployment:** To apply these fixes, a rebuild of the `gtm-app` container is required. +* **Deployment:** To apply these fixes, a rebuild of the `gtm-app` container is required. A rebuild of `market-backend` is also required to pick up the new dependency. ## Next Steps * **Monitor Logs:** Check `Log_from_docker/` for detailed execution traces of the GTM Architect. diff --git a/market-intel.requirements.txt b/market-intel.requirements.txt index da1564b3..89bed09f 100644 --- a/market-intel.requirements.txt +++ b/market-intel.requirements.txt @@ -1,3 +1,4 @@ requests beautifulsoup4 +google-generativeai lxml \ No newline at end of file