Commit Graph

1589 Commits

Author SHA1 Message Date
912e820a8b Fix(DuckDNS): Resolve zombie updater conflict via token rotation.
- Updated 'docker-compose.yml' with new DuckDNS token to lock out rogue updaters (FritzBox/HA).
- Enhanced 'dns-monitor/monitor.sh' to detect 'IP Flapping' (Zombie Updaters) by comparing Public vs. Global vs. Local IPs.
- Updated documentation 'duckdns_setup.md' with troubleshooting steps for IP flapping and zombie updaters.
2026-01-06 11:43:31 +00:00
b2175b574f Infra: Added robust DuckDNS updater and DNS monitoring sidecar container 2026-01-05 21:44:27 +00:00
58b1f4cc65 fix(infra): increase nginx client_max_body_size to 50M; docs: update status 2026-01-05 16:05:10 +00:00
a5f43fb977 feat(gtm): add aspect ratio & corporate design; fix(market): harden backend logging & json parsing 2026-01-05 11:42:15 +00:00
7be63b6d14 feat(gtm): add responsive collapsible sidebar for mobile 2026-01-04 19:53:21 +00:00
52bad1fc89 docs: update migration guide with gemini versioning and model availability insights (v2.4) 2026-01-04 19:24:43 +00:00
07f4ffb225 feat(gtm): improve phase 5 report rendering & update documentation to v2.3 2026-01-04 18:29:30 +00:00
d43012eeb5 feat(gtm): add session history, database loading, and markdown file import 2026-01-04 17:29:20 +00:00
9ac2b9c466 feat(gtm): upgrade to google-genai, fix image gen & frontend crash 2026-01-04 16:02:23 +00:00
3b1f2967cb Fix: Corrected image response handling in frontend and integrated mandatory Wackler Ecosystem logic into system prompts 2026-01-03 14:37:52 +00:00
2b1c5e45df Fix: Resolved Phase 5 UI rendering, updated server version to 1.2.0, and fixed critical volume mount path for server.cjs 2026-01-03 14:05:27 +00:00
c013cfb02b Fix: Redirect Python logs to stderr to prevent JSON corruption in stdout 2026-01-03 13:56:01 +00:00
0761c05b62 Fix: Resolved E2BIG error by switching to file-based payload passing for large requests (images) 2026-01-03 13:44:18 +00:00
6bde387760 Fix: Implemented SVG fallback for image generation, enforced phase consolidation in report, and updated troubleshooting guide 2026-01-03 13:22:42 +00:00
69297d990b Fix: Resolved [object Object] report bug, enforced German output language across all phases, and documented troubleshooting steps 2026-01-03 13:01:32 +00:00
d29f9f4d1b Enhancement: Refined Phase 1 prompt for less granular features & updated migration guide with troubleshooting tips 2026-01-03 12:49:57 +00:00
0b94a7d5e9 Fix: Add DB initialization on server startup 2026-01-03 12:34:46 +00:00
4effab681f Final Fix: Corrected IndentationError in config.py and updated status to Operational 2026-01-03 12:28:25 +00:00
28bf17c695 Cleanup: Removed unnecessary genderize mount and fixed filename case in config 2026-01-03 12:23:23 +00:00
97ca4cd254 Fix: Gemini API modernization, dynamic model selection, and config path corrections 2026-01-03 12:19:51 +00:00
844ffa3eea fix(ai): Update Gemini model ID to gemini-1.5-flash-001
- Changes the model ID from the generic 'gemini-1.5-flash' to the specific 'gemini-1.5-flash-001'.
- This resolves the '404 NOT_FOUND' error where the API could not locate the generic model alias in the v1beta API version.
2026-01-03 10:24:51 +00:00
0aad604339 refactor(ai): Migrate to google-genai Client API
- Rewrites  and  in helpers.py to use the new  and  syntax.
- Removes the deprecated  calls which were causing AttributeError.
- Updates parameter handling to use .
- This change ensures full compatibility with the  library version 1.0+.
2026-01-03 10:15:05 +00:00
511dbdf780 fix(debug): Stream python logs to console 2026-01-03 10:04:13 +00:00
ca1309adff fix(config): Ensure API keys are loaded by orchestrator
- Reverts docker-compose.yml to use volume mount for gemini_api_key.txt, due to format constraints.
- Restores and refines Config.load_api_keys() in config.py.
- **Crucially, calls Config.load_api_keys() at the start of gtm_architect_orchestrator.py to ensure keys are loaded.**
- Adjusts _get_gemini_api_key in helpers.py to prioritize keys from Config.API_KEYS.
- This definitively addresses the 'API Key missing' error by guaranteeing key initialization.
2026-01-03 09:33:33 +00:00
b35a53b755 refactor(config): Switch to environment variables for API keys
- Modifies docker-compose.yml to use  for injecting the Gemini API key, which is more robust than volume mounting.
- Updates helpers.py to prioritize reading the API key from the  environment variable.
- Removes the now-redundant file-based key loading logic from config.py and the Dockerfile.
- This change completely bypasses the problematic file system interactions within the container, providing a definitive fix for the 'API Key missing' error.
2026-01-03 09:30:34 +00:00
62d03e24a4 docs(build): Add critical warning about volume mounts
- Adds a prominent warning section to the migration guide.
- Explains that local volume mounts (sideloading) will overwrite container code.
- Explicitly states that Already up to date. on the host is mandatory before rebuilding to ensure changes are applied. This addresses a recurring debugging issue.
2026-01-03 09:12:35 +00:00
82106cf636 fix(debug): Add version info and API key debugging
- Adds a version and timestamp to the orchestrator's startup logs to verify code deployment.
- Introduces extensive debug logging in config.py and helpers.py to trace the API key loading process, including exact file paths and environment variable checks. This will help diagnose the persistent 'API Key missing' error.
2026-01-03 09:06:00 +00:00
cd458ca275 fix(config): Correct API key filename and improve logging
- Changes the expected API key filename from 'api_key.txt' to 'gemini_api_key.txt' to match the project standard.
- Enhances logging to output the absolute path when an API key file is not found, simplifying future debugging.
2026-01-03 09:00:52 +00:00
af75d25622 fix(deps): Migrate from google.generativeai to google-genai
- Updates requirements.txt to use the new 'google-genai' package.
- Updates import statements and error messages in helpers.py to use the new library.
- Ensures the gemini_api_key.txt is copied into the Docker container to resolve API key errors.
2026-01-03 08:56:20 +00:00
302a211239 feat(gtm-architect): Finalize migration and implement web scraping
- Refactors the gtm-architect Dockerfile for a flat, more efficient build process.
- Implements robust web scraping via BeautifulSoup in helpers.py for URL analysis in phase1.
- Makes shared library imports (gspread, pandas, etc.) in helpers.py optional to prevent ModuleNotFoundErrors in microservices.
- Implements the main execution logic in the orchestrator to handle command-line arguments.
- Updates documentation to reflect the new architecture, scraping feature, and dependency handling.
2026-01-03 08:43:53 +00:00
2663d85ae7 Fix API base URL to be relative for correct proxy routing 2026-01-02 19:20:05 +00:00
6118cfb5a0 Finalize GTM v2 migration: Fix API key mounting and Docker config 2026-01-02 19:11:51 +00:00
9e597d98d4 Fix Docker build context and file paths for gtm-app 2026-01-02 19:07:34 +00:00
b47a65eb83 Refactor GTM Architect to v2: Python-driven architecture, 9-phase process, new DB and Docker setup 2026-01-02 19:00:05 +00:00
a3dc012da8 gtm-architect/v2/components/Layout.tsx hinzugefügt 2026-01-02 18:21:50 +00:00
659224c9d5 Dateien nach "gtm-architect/v2" hochladen 2026-01-02 18:21:20 +00:00
4f1491c9da Dateien nach "gtm-architect/v2" hochladen 2026-01-02 18:20:45 +00:00
25ca7a36d9 Dateien nach "gtm-architect/v2" hochladen 2026-01-02 18:20:25 +00:00
66859421b9 gtm-architect/v2/App.tsx hinzugefügt 2026-01-02 18:20:04 +00:00
b08331a0a9 Fix Market Intel: Add missing google-generativeai dependency 2026-01-01 23:02:37 +00:00
1fe17d88bc Fix GTM Architect: Robust prompt syntax, Gemini API migration, Docker logging 2026-01-01 22:39:43 +00:00
05753edbb1 fix(gtm-architect): Stabilize Docker environment and fix frontend
- Refactor Docker build process for gtm-app to ensure reliability
- Correct volume mounts and build context in docker-compose.yml to prevent stale code
- Fix frontend 404 error by using relative paths in index.html
- Ensure API key is correctly mounted into the container
- Stabilize Node.js to Python data passing via explicit --data argument
- Update gtm_architect_documentation.md with extensive troubleshooting guide
2026-01-01 08:36:48 +00:00
5fc9867944 fix(gtm): Implement ultimate prompt robustness, version logging, and final doc update 2025-12-31 15:34:45 +00:00
30bfe54536 fix(gtm): Ultimate prompt syntax robustness, add versions to logs, update migration docs 2025-12-31 15:26:23 +00:00
9ad52893f9 fix(gtm): Final robust prompt construction to eliminate SyntaxError and update migration guide 2025-12-31 15:04:45 +00:00
88e4a6d024 fix(gtm): Resolve SyntaxError in multi-line prompt by changing "2. " to "2) " numbering 2025-12-31 14:55:06 +00:00
6f12f3b3aa docs: Enhance migration guide with detailed Python syntax troubleshooting for f-strings and persistent SyntaxErrors 2025-12-31 14:50:49 +00:00
0ec88d5aba fix(gtm): Final syntax fix for dictionaries and f-strings 2025-12-31 14:30:02 +00:00
050b3cafbf fix(gtm): Correct dictionary merge syntax error and add debug logging 2025-12-31 14:27:04 +00:00
e2cfb4f2ae fix(gtm): Replace risky ternary operators in f-strings with explicit if/else blocks to fix SyntaxError 2025-12-31 14:23:45 +00:00