Commit Graph

258 Commits

Author SHA1 Message Date
carl
f96d83b4c9 fix: ollama provider not respecting OLLAMA_ENDPOINT env var 2025-02-04 22:14:39 +11:00
warmshao
6e90106766 Merge pull request #224 from marginal23326/add-llm-endpoints
feat: add missing endpoints and keys for Mistral and Anthropic
2025-02-02 18:28:22 +08:00
marginal23326
8d47e626ce feat: add missing endpoints and keys 2025-02-02 14:06:35 +06:00
warmshao
ac7c1bb81b Merge pull request #221 from BioInfo/feature/add-o3-mini-model-support
feat: add OpenAI O3-mini model support and fix theme handling
2025-02-02 11:48:04 +08:00
BioInfo
150a8b4384 feat: add OpenAI O3-mini model support and fix theme handling
- Add O3-mini model to OpenAI model options
- Remove forced dark theme to allow system/light theme options
- Fix JSON template escape sequence in custom prompts
2025-02-01 20:37:04 -05:00
warmshao
32df3485c9 Merge pull request #219 from raybooysen/patch-1
Fixing typo in README.md
2025-02-02 00:06:07 +08:00
warmshao
fa7e168e93 Merge pull request #143 from pad918/main
Features/mistralai intergrate
2025-02-01 23:38:38 +08:00
Måns Abrahamsson
c0c25451fb Added back missing requirement 2025-02-01 12:34:12 +01:00
Ray Booysen
f9bc2b4a44 Fixing typo in README.md
README states the default VNC password is `vncpassword` but it is actually `youvncpassword` in the env file
2025-02-01 15:29:05 +08:00
warmshao
80d2d1add6 Merge pull request #110 from scott------/patch-1
Update README.md minor grammar update
2025-02-01 10:17:30 +08:00
Måns Abrahamsson
fe251a7876 Added new test for mistral models 2025-01-31 08:45:25 +01:00
Måns Abrahamsson
41ddd2b9dd Merge branch 'main' of https://github.com/browser-use/web-ui 2025-01-31 08:44:11 +01:00
Måns Abrahamsson
79b61a95fd Merge remote-tracking branch 'upstream/main' 2025-01-31 08:35:13 +01:00
warmshao
0a6a386d34 Merge pull request #205 from marginal23326/display-missing-api-key-errors
fix: display missing API key errors in UI
2025-01-31 09:58:10 +08:00
warmshao
5388482de1 Merge pull request #206 from marginal23326/refactor/consolidate-llm-tests
refactor: simplify LLM tests and remove duplication
2025-01-31 09:51:47 +08:00
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
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
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