Fix Market Intel: Add missing google-generativeai dependency
This commit is contained in:
@@ -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.
|
* **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).
|
* **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.
|
* **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.
|
* **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
|
## Next Steps
|
||||||
* **Monitor Logs:** Check `Log_from_docker/` for detailed execution traces of the GTM Architect.
|
* **Monitor Logs:** Check `Log_from_docker/` for detailed execution traces of the GTM Architect.
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
requests
|
requests
|
||||||
beautifulsoup4
|
beautifulsoup4
|
||||||
|
google-generativeai
|
||||||
lxml
|
lxml
|
||||||
Reference in New Issue
Block a user