Fix Market Intel: Add missing google-generativeai dependency

This commit is contained in:
2026-01-01 23:02:37 +00:00
parent 1fe17d88bc
commit b08331a0a9
2 changed files with 3 additions and 1 deletions

View File

@@ -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.

View File

@@ -1,3 +1,4 @@
requests
beautifulsoup4
google-generativeai
lxml