447 Commits

Author SHA1 Message Date
marginal23326
d0b4f4c441 refactor: simplify LLM tests and remove duplication 2025-01-30 18:24:32 +06:00
marginal23326
82844a4182 feat(ui): display missing API key errors in UI
This PR introduces proper error handling in the UI for missing API keys, addressing issue #188. Previously, missing API keys resulted in tracebacks in the console, but no clear error was shown in the UI. This made it difficult to understand what went wrong. Now, API key checks are performed at the start of the `get_llm_model` function in `src/utils/utils.py`. I've also added a `PROVIDER_DISPLAY_NAMES` constant for more user-friendly error messages and a `handle_api_key_error` function that leverages `gr.Error` to display clear error messages directly in the UI. If an API key is missing, you'll now see an error message right away. The `run_browser_agent` and `run_with_stream` functions in `webui.py` have been adjusted to ensure these `gr.Error` exceptions are handled properly.
2025-01-30 17:38:29 +06:00
kimtth
fbced39ad5 fix: correct typo
massage -> message
2025-01-30 14:40:03 +09:00
Sheldon Aristide
1d26f29894 fix: restore noVNC functionality and fix port mappings
- Restore noVNC program section in supervisord.conf for web-based preview
- Fix port mappings in docker-compose.yml for proper VNC access
- Ensure correct configuration for web-based browser interaction preview
2025-01-29 16:37:38 -05:00
Sheldon Aristide
03b099f88d Update VNC port configuration from 5900 to 5901
Modified Dockerfile and Dockerfile.arm64 to use port 5901 for VNC service
maintaining consistency with supervisord.conf and docker-compose.yml
configurations.
2025-01-29 16:02:51 -05:00
warmshao
dc41476f37 Merge pull request #189 from marginal23326/main
refactor: remove code duplication in get_next_action method
2025-01-29 09:45:42 +08:00
marginal23326
3fb8020387 refactor: remove code duplication in get_next_action method 2025-01-29 00:41:52 +06:00
warmshao
0c9cb9ba11 Merge pull request #184 from vvincent1234/fix/adapt_latest_browser-use
Fix/adapt latest browser use
v1.4
2025-01-28 20:41:40 +08:00
vincent
75ab5051ec fix deepseek-r1 ollama 2025-01-28 20:38:29 +08:00
vincent
7c8949600d fix chrmoe user data 2025-01-28 12:27:34 +08:00
vincent
3d8a3237ff fix chrome user data 2025-01-28 12:20:35 +08:00
vincent
69b687003c fix chrome user data 2025-01-28 12:19:42 +08:00
vincent
dc72b5d862 fix big 2025-01-27 20:14:29 +08:00
warmshao
566bca77cf Merge pull request #173 from vvincent1234/fix/adapt_latest_browser-use
Fix/adapt latest browser use
2025-01-27 16:56:06 +08:00
vincent
b9080c3b18 fix conflict 2025-01-27 16:49:22 +08:00
vincent
47ab5e97db Merge branch 'main' into fix/adapt_latest_browser-use 2025-01-27 16:44:53 +08:00
vincent
664dce757e add deepseek-r1 ollama 2025-01-27 16:36:13 +08:00
vincent
6ceaf8de6b adapt to browser-use==0.1.29 2025-01-27 14:10:23 +08:00
warmshao
284f0b779e Merge pull request #147 from freeflowlabs/fix/docker-arch
fix: set architecture explicitly in docker-compose
2025-01-27 08:32:45 +08:00
warmshao
74c87be827 Merge pull request #167 from wrapss/feature/ollama-env
feat: add Ollama endpoint configuration
2025-01-27 08:28:15 +08:00
wraps
be01aaf336 feat: add Ollama endpoint configuration
- Added `OLLAMA_ENDPOINT` environment variable to `.env.example`
- Updated `get_llm_model` function in `src/utils/utils.py` to use the new `OLLAMA_ENDPOINT` environment variable if not provided
2025-01-26 15:39:35 +01:00
warmshao
af3a84ff8b Merge pull request #156 from bugdisclose/patch-1
Create SECURITY.md
2025-01-26 08:34:39 +08:00
warmshao
1f20636d1c Merge pull request #160 from vvincent1234/feat/deepseek-r1
fix token counting for r1
2025-01-26 08:13:52 +08:00
vincent
8a09c96585 fix token counting for r1 2025-01-26 08:12:12 +08:00
warmshao
b7f3fec720 Merge pull request #158 from vvincent1234/feat/deepseek-r1
fix cutting message bug
2025-01-26 07:53:55 +08:00
vincent
45160cd266 fix cutting message bug 2025-01-26 07:52:36 +08:00
0x01
dd20dd4f8c Create SECURITY.md 2025-01-26 04:08:12 +05:30
Sheldon Aristide
e4a3f84c99 Add ARM64 support for M-series Mac with optimized Docker configurations 2025-01-25 13:32:39 -05:00
warmshao
d5418920b4 Merge pull request #153 from vvincent1234/feat/deepseek-r1
update readme
2025-01-26 01:08:35 +08:00
vincent
21c8f598af update readme 2025-01-26 01:07:30 +08:00
warmshao
5bc4978fa5 Merge pull request #151 from vvincent1234/feat/deepseek-r1
Feat/deepseek r1
v1.3
2025-01-26 00:01:49 +08:00
vincent
96d02b5224 fix cut message 2025-01-26 00:01:16 +08:00
vincent
01014ecfd0 fix context len 2025-01-25 23:53:58 +08:00
vincent
2f923c50d6 add deepseek-r1 support 2025-01-25 23:43:12 +08:00
Anders Schwartz
7d9f81a8c6 add missing netcat for health check 2025-01-24 20:31:24 -05:00
Anders Schwartz
f83f44823c fix: set docker architecture explicitly to ensure google-chrome is available to install 2025-01-24 18:13:13 -05:00
Måns Abrahamsson
456988fef0 Implemented mistral in webui 2025-01-24 14:35:20 +01:00
Måns Abrahamsson
46bbd559d2 Added a test-case for the mistralai api 2025-01-24 14:14:56 +01:00
Måns Abrahamsson
68446577f4 Add library requirement for mistralai 2025-01-24 14:14:41 +01:00
warmshao
6e553218ee Merge pull request #141 from vvincent1234/fix/docker_vnc
Fix/docker vnc
2025-01-24 20:01:25 +08:00
vvincent1234
d26ebe8fb6 fix docker build 2025-01-24 20:00:04 +08:00
vvincent1234
b3f6324ddb fix docker build 2025-01-24 19:56:34 +08:00
vvincent1234
748d253c31 fix CHROME_PERSISTENT_SESSION error 2025-01-24 09:42:42 +08:00
warmshao
a123e94e08 Merge pull request #131 from MeshkatShB/feature/use-previous-settings
Feature/use previous settings
2025-01-23 19:13:49 +08:00
meshkatshb
b616f2d79e hotfix: trace path was being shown as recording path 2025-01-22 12:25:11 +03:30
meshkatshb
87696bdbcf Merge branch 'main' of https://github.com/browser-use/web-ui into feature/use-previous-settings 2025-01-22 12:08:32 +03:30
meshkatshb
dce50eb01b refactor: moved functions to utils for more readability 2025-01-22 12:08:19 +03:30
meshkatshb
0e152d557d fix: remove previous logic to save the setting by running the agent 2025-01-22 12:00:18 +03:30
meshkatshb
2d2aa0d689 feat: add default config to load from hard-code instead of a file 2025-01-22 11:58:49 +03:30
meshkatshb
704ea646ca feat: added configuration tab with load config from file and save current config to a file buttons with status 2025-01-22 11:51:55 +03:30