Commit Graph

33 Commits

Author SHA1 Message Date
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
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
vincent
75ab5051ec fix deepseek-r1 ollama 2025-01-28 20:38:29 +08:00
vincent
dc72b5d862 fix big 2025-01-27 20:14:29 +08:00
vincent
664dce757e add deepseek-r1 ollama 2025-01-27 16:36:13 +08:00
vincent
21c8f598af update readme 2025-01-26 01:07:30 +08:00
vincent
2f923c50d6 add deepseek-r1 support 2025-01-25 23:43:12 +08:00
Måns Abrahamsson
456988fef0 Implemented mistral in webui 2025-01-24 14:35:20 +01:00
vvincent1234
b3f6324ddb fix docker build 2025-01-24 19:56:34 +08:00
meshkatshb
332eeab4e7 feat: add base_url to ChatOllama to read from remote server 2025-01-15 15:29:08 +03:30
vvincent1234
ae475235b9 update requirements 2025-01-13 21:31:37 +08:00
katiue
095fe3f59f suppress socket error 2025-01-13 14:21:45 +07:00
katiue
00f5ea6301 merge new version 2025-01-13 14:10:33 +07:00
katiue
fcc67d37e2 headless streaming function 2025-01-13 02:15:51 +07:00
katiue
92069a5bb4 new stream function without the need to modify custom context 2025-01-12 19:57:24 +07:00
katiue
ea71a896ae merge util files and remove duplicated library import 2025-01-10 22:18:46 +07:00
katiue
d466231034 stream function only 2025-01-09 21:32:29 +07:00
katiue
7c66ac14f4 resolve to merge with new version 2025-01-09 01:26:43 +07:00
katiue
a4c2deffa0 resolve to merge with new version 2025-01-09 01:26:13 +07:00
katiue
e98abf7b46 resolve conflict improve UI 2025-01-09 00:34:08 +07:00
Richardson Gunde
160f83f21c Update utils.py 2025-01-08 21:00:59 +05:30
Richardson Gunde
e3bee13212 Merge branch 'main' into main 2025-01-08 20:14:33 +05:30
Richardson Gunde
29ce9c7835 Update utils.py 2025-01-08 19:50:18 +05:30
vincent
041dc55a36 feat: adpat to new version of browser-use 2025-01-08 19:23:23 +08:00
Gregor Žunič
54266d8edf fixed file formatting 2025-01-07 09:11:13 -08:00
Richardson Gunde
9436de4bb3 Update utils.py
added fetch LLM models
2025-01-07 19:26:26 +05:30
Richardson Gunde
d4484162b9 Update utils.py 2025-01-05 18:03:14 +05:30
warmshao
e54c1fda0b add ollama 2025-01-04 10:58:48 +08:00
warmshao
c0de4b787d add deepseek 2025-01-03 19:32:32 +08:00
warmshao
0b822fa1c2 add webui and readme 2025-01-03 01:02:36 +08:00
warmshao
6c07ec2603 add custom browser 2025-01-02 14:11:10 +08:00
warmshao
08fd44b6ef add gemini supported 2025-01-02 09:30:46 +08:00