Commit Graph

81 Commits

Author SHA1 Message Date
carl
f96d83b4c9 fix: ollama provider not respecting OLLAMA_ENDPOINT env var 2025-02-04 22:14:39 +11: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
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
marginal23326
3fb8020387 refactor: remove code duplication in get_next_action method 2025-01-29 00:41:52 +06:00
vincent
75ab5051ec fix deepseek-r1 ollama 2025-01-28 20:38:29 +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
vincent
b9080c3b18 fix conflict 2025-01-27 16:49:22 +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
vincent
8a09c96585 fix token counting for r1 2025-01-26 08:12:12 +08:00
vincent
45160cd266 fix cutting message bug 2025-01-26 07:52:36 +08:00
vincent
21c8f598af update readme 2025-01-26 01:07:30 +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
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
vvincent1234
748d253c31 fix CHROME_PERSISTENT_SESSION error 2025-01-24 09:42:42 +08:00
meshkatshb
dce50eb01b refactor: moved functions to utils for more readability 2025-01-22 12:08:19 +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
2b2edc3391 feat: load and save functions to follow uuid format 2025-01-22 11:06:57 +03:30
meshkatshb
0f50b3ff72 feat: implemented save to file and load from file functionality 2025-01-20 16:58:54 +03:30
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
InCoB
a329614ce7 feat(custom-agent): Implement stop button functionality for custom model - Introduce AgentState singleton class for custom model stop management - Add graceful stop handling in CustomAgent with state preservation - Enhance WebUI with stop button integration (custom model only) - Implement last valid state tracking for safe interruption - Add async Event-based stop request mechanism - Note: Stop functionality currently only works with custom agent type 2025-01-12 13:35:50 +00:00
katiue
772863762c Merge remote-tracking branch 'upstream/main' into stream_function 2025-01-12 20:05:26 +07:00
katiue
92069a5bb4 new stream function without the need to modify custom context 2025-01-12 19:57:24 +07:00
vvincent1234
a234f0ca7e add generate gif 2025-01-11 16:58:41 +08:00
vvincent1234
db73db1f7c fix macos cannot use own browser 2025-01-11 16:30:31 +08:00
katiue
f3c75a87e7 remove changes in agent folder 2025-01-10 22:31:30 +07:00
katiue
b6847ad47b remove changes in agent folder 2025-01-10 22:30:13 +07:00
katiue
ea71a896ae merge util files and remove duplicated library import 2025-01-10 22:18:46 +07:00
katiue
98f345da98 reduce number of changes for easier merge purpose 2025-01-10 22:04:22 +07:00
katiue
0c950775e3 error boundary for streaming 2025-01-10 21:58:06 +07:00
katiue
ed3a04553d resolve conflict with new webui version - implement docker 2025-01-10 21:47:16 +07:00
katiue
c83fddd216 reduce changes compare to old files 2025-01-10 03:27:59 +07:00
casistack
98cc07d843 Implement Browser context 1 2025-01-09 20:24:40 +00:00
katiue
48fa8c37e4 reduce changes compare to old files 2025-01-10 02:57:45 +07:00
katiue
540729ec27 reduce changes compare to old files 2025-01-10 02:53:20 +07:00
casistack
eef817ff8e Add docker support 2025-01-09 19:46:43 +00:00
katiue
bcc4ca88dd reduce modified files 2025-01-10 02:38:56 +07:00
katiue
ca36160617 streaming function only 2025-01-10 01:58:47 +07:00
katiue
cae23eb16e stream function only 2025-01-10 01:13:19 +07:00
katiue
d466231034 stream function only 2025-01-09 21:32:29 +07:00