Commit Graph
882 Commits
Author SHA1 Message Date
guoyangzhen 75ce967107 fix: make kokoro TTS optional 2026-03-14 17:26:19 +08:00
Martin 781275c881 Merge pull request #439 from Br1an67/feat/issue-108-web-form-handling
feat: add support for select, textarea, and file upload in web forms
2026-03-02 19:45:10 +01:00
Martin 2a69fbef4b Merge pull request #440 from Br1an67/feat/issue-52-add-tests
test: add unit tests for parsing functions, logger, and utility
2026-03-02 19:44:20 +01:00
Martin fa4cef0e74 Merge pull request #438 from Br1an67/fix/issue-356-auto-update-chromedriver
fix: auto-update ChromeDriver when version mismatches Chrome
2026-03-02 19:43:39 +01:00
Martin f63b2c436d Merge pull request #437 from Br1an67/fix/issue-409-json-parsing
fix: handle JSON parsing errors in planner agent
2026-03-02 19:42:42 +01:00
Martin cb6210293a Merge pull request #425 from Aquarius10th/fix-apt-get-error
Specify the base image version to fix dependency missing or version c…
2026-03-02 19:41:02 +01:00
Br1an67 165dcb8d97 test: add unit tests for parsing functions, logger, and utility
Add 34 tests across 3 test files:

- test_browser_agent_parsing.py (20 tests): expand existing tests with
  coverage for extract_links, extract_form, clean_links, parse_answer,
  select_link, jsonify_search_results, stringify_search_results, and
  select_unvisited
- test_logger.py (9 tests): Logger initialization, message writing, log
  level handling, deduplication, and folder creation
- test_utility.py (5 tests): get_color_map returns correct structure and
  color values

All tests avoid LLM requests per issue requirements.
2026-03-02 00:28:48 +08:00
Br1an67 1e827a903b feat: add support for select, textarea, and file upload in web forms
Extend form handling to support:
- <select> dropdowns: detect options, select by visible text or value
- <textarea> fields: fill with text content
- <input type="file">: upload files by absolute path
- All element types are also discovered inside shadow DOM

Changes:
- find_inputs.js: discover <select> (with options) and <textarea>
- browser.py: import Select, handle new element types in
  get_form_inputs() and fill_form_inputs()
2026-03-02 00:16:28 +08:00
Br1an67 16f7f7c917 fix: auto-update ChromeDriver when version mismatches Chrome
Add version compatibility check before using existing ChromeDriver.
When the installed ChromeDriver major version does not match Chrome,
chromedriver_autoinstaller downloads the correct version automatically
instead of failing with a version mismatch error.

Add helper functions get_chromedriver_version() and
is_chromedriver_compatible() with tests for version matching logic.
2026-03-02 00:10:23 +08:00
Br1an67 f350378170 fix: handle JSON parsing errors in planner agent
Add try-except for json.JSONDecodeError in parse_agent_tasks() to
gracefully handle malformed JSON from LLM responses (e.g. Gemini 2.5
Flash via OpenRouter). Returns empty list on parse failure, which
triggers the existing retry mechanism in make_plan().

Add test suite for parse_agent_tasks() covering valid JSON, malformed
JSON, truncated JSON, and invalid agent name cases.
2026-03-02 00:03:36 +08:00
Martin 9611bf4081 Merge pull request #436 from arikusi/add-turkish-readme
docs: add Turkish translation (README_TR.md)
2026-02-28 21:32:00 +01:00
arikusi aeb9145d6e docs: add Turkish translation (README_TR.md) 2026-02-27 01:39:42 +03:00
Frank Zhou 889545f356 Specify the base image version to fix dependency missing or version conflict issues when using apt-get.
The originally specified version 3.11-slim is only an alias representing the latest version in the 3.11.x-slim series (for example, on November 22nd, its exact version number was 3.11.14-slim). After the base image is updated, various unexpected errors may occur when executing apt-get.
2025-11-23 00:03:26 +08:00
Martin 782a933971 Merge pull request #424 from Fosowl/dev
fix: remove unavailable engine from searxng config.
2025-11-15 14:56:20 +01:00
martin 42cd21346f fix: remove unavailable engine from searxng config to avoid warnings/errors 2025-11-15 14:49:42 +01:00
Martin abc765861a Merge pull request #405 from Fosowl/dev
readme update
2025-09-14 20:15:49 +02:00
martin.legrand 141bc5f097 readme update 2025-09-14 20:15:12 +02:00
Martin 8a713e5ec0 Merge pull request #404 from Fosowl/dev
fix : update readme for correct ollama start
2025-09-14 18:23:32 +02:00
martin.legrand 176863be55 fix : listen issue of ollama 2025-09-14 18:22:18 +02:00
Martin 0decd84541 Merge pull request #403 from Fosowl/dev
Fix various ubuntu issues + CLI instructions
2025-09-13 23:50:03 +02:00
martin.legrand edc0e69a82 fix : more linux issues 2025-09-13 23:47:24 +02:00
martin.legrand 60dd8a597f update readme.md 2025-09-13 22:34:05 +02:00
martin.legrand 28d255b8e9 update readme.md 2025-09-13 20:34:27 +02:00
martin.legrand 4554c6ef89 fix command_exists issue in .sh 2025-09-13 15:00:57 +02:00
martin.legrand fd8d940e58 rm test file 2025-09-13 14:31:59 +02:00
martin.legrand 87c8a3fb09 fix: redundant searxng folder causing error on ubuntu, tts issue, bigger mount point allowed by start_services, readme updated for cli mode 2025-09-13 14:30:21 +02:00
Martin be86fd07e1 Merge pull request #402 from Fosowl/dev
fix #400
2025-09-11 23:45:58 +02:00
martin.legrand d80bda8468 fix : unseen recursion mistake on empty value for work folder 2025-09-11 23:44:06 +02:00
Martin 308ba0e595 Merge pull request #379 from Fosowl/dev
readme update
2025-07-13 12:52:03 +02:00
martin legrand f72c1b9b07 update readme 2025-07-13 12:50:15 +02:00
Martin deaf142a0d Merge pull request #373 from Fosowl/dev
Fix backend url issue
2025-07-06 00:35:29 +02:00
martin legrand e0123bfc67 fix : searnxg url 2025-07-06 00:34:36 +02:00
martin legrand fa26cce44f fix : problem with frontend connection, enfore url 2025-07-06 00:24:02 +02:00
martin legrand cb0206e9ee fix : problem with frontend connection url selection 2025-07-06 00:19:46 +02:00
Martin a2f75e7281 Merge pull request #371 from Fosowl/dev
Fix readme typo
2025-07-05 14:47:04 +02:00
martin 3e652a6b99 update readme 2025-07-05 14:45:43 +02:00
Martin fd987e5b5c Merge pull request #370 from Fosowl/dev
Update readme + contributing.md
2025-07-02 18:02:44 +02:00
martin d30f3c5616 update readme 2025-07-01 21:29:49 +02:00
martin db62bb289e update readme 2025-07-01 21:28:55 +02:00
martin 23caf437b1 Update contributing.md + sponsorship 2025-07-01 21:25:58 +02:00
martin f5b1c4ab37 update flight search tool 2025-07-01 20:23:55 +02:00
martin 29044ebbfe update readme mistake #366 2025-07-01 20:07:13 +02:00
Martin 50d098fa96 Merge pull request #361 from natethompson44/docs/enhance-chromedriver-troubleshooting
docs: enhance ChromeDriver troubleshooting for Docker environments
2025-06-28 14:57:29 +02:00
Martin ba74f1efa2 Merge pull request #362 from natethompson44/fix/chromedriver-project-root-priority
fix: prioritize project root ChromeDriver for Docker compatibility
2025-06-28 14:55:18 +02:00
WINZO Platform Developer b3ec49c611 fix: prioritize project root ChromeDriver for Docker compatibility
- Check ./chromedriver before system PATH or auto-installer
- Add Docker environment detection and fallback logic
- Provide debug messages for ChromeDriver source identification
- Improve compatibility with undetected_chromedriver in stealth mode

This resolves issues where undetected_chromedriver downloads its own
ChromeDriver version, bypassing mounted binaries in Docker environments.
The project root approach ensures users can manually place the correct
ChromeDriver version and have it reliably detected.
2025-06-25 18:20:25 -05:00
WINZO Platform Developer 2a5fb69af6 docs: enhance ChromeDriver troubleshooting for Docker environments
- Add detailed Chrome for Testing API instructions
- Include Docker-specific guidance for stealth mode compatibility
- Add troubleshooting tips and version compatibility matrix
- Provide clear step-by-step solution for version mismatches

Fixes common ChromeDriver issues in Docker environments where
undetected_chromedriver bypasses mounted binaries.
2025-06-25 18:20:03 -05:00
Martin 2eb62e63eb Merge pull request #348 from christiancoleman/origin/headless-docker
Headless chrome in a container
2025-06-22 15:40:43 +02:00
Martin 30aecb406d Merge pull request #351 from mmlmt2604/fix_openrouter_freemodel
Enhance Memory class: Remove 'model_use' and 'time' in message payload when user use open router's free model
2025-06-22 15:34:40 +02:00
Mike Lin 860e52c3fa Enhance Memory class: Remove 'model_use' and 'time' in messages payload when user select free model from oepn router which result 500 error 2025-06-22 17:39:38 +08:00
Christian Coleman c7ffe46771 Added a warning for people that try to run a non-headless browser in a docker container. It errors in a very unhelpful way, and so this code tells the user in the output what's happening and also forces headless = True. If a user actually means to run a non-headless browser and view via X11 or something then the warning/output will lead them to the right place that they need to tweak. 2025-06-22 02:39:20 -04:00