Commit Graph

112 Commits

Author SHA1 Message Date
vvincent1234
de69740acf fix bugs and limit search num 2025-02-09 09:16:14 +08:00
vincent
fbd748e1b9 add stop button and use own browser 2025-02-07 22:28:10 +08:00
vincent
abdf95c9e0 add deep research to webui 2025-02-06 19:33:01 +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
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
69b687003c fix chrome user data 2025-01-28 12:19:42 +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
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
meshkatshb
b616f2d79e hotfix: trace path was being shown as recording path 2025-01-22 12:25:11 +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
meshkatshb
b540b35823 refactor: remove unnecessary comment 2025-01-22 10:21:46 +03:30
meshkatshb
aec4779bd2 feat: now reads configs from config.pkl file and show in the UI 2025-01-20 16:56:37 +03:30
vvincent1234
7bbf2d66b6 hotfix font error and stream error 2025-01-16 09:46:27 +08:00
meshkatshb
d2513a920e hotfix: exception handling missing a value 2025-01-14 18:12:03 +03:30
meshkatshb
845d5dde30 feat: add agent history file to org agents 2025-01-14 17:48:27 +03:30
meshkatshb
4b64685988 refactor: remove agent history as a button and make it only a file in results tab 2025-01-14 17:38:10 +03:30
meshkatshb
bbf9feac1f refactor: create agent history file based on agent_<ID> 2025-01-14 17:22:37 +03:30
meshkatshb
36649f352c feat: add Agent History feature to save into file and download option in Result. 2025-01-13 22:39:43 +03:30
vvincent1234
ae475235b9 update requirements 2025-01-13 21:31:37 +08:00
katiue
28f140f60e not supressing anymore 2025-01-13 14:28:40 +07: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
10d499b121 minor changes 2025-01-13 02:48:46 +07:00
katiue
fcc67d37e2 headless streaming function 2025-01-13 02:15:51 +07:00
katiue
8967be7a77 latest recording file display 2025-01-12 22:03:07 +07:00
katiue
995628619a fix bug 2025-01-12 21:14:08 +07:00
katiue
29194d2706 fix bug 2025-01-12 21:13:33 +07:00
katiue
0657be239a fiding bug 2025-01-12 20:40:05 +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
f39b15483f reduce changes 2025-01-12 20:27:33 +07:00
katiue
b10a6061c8 reduce changes 2025-01-12 20:25:35 +07:00
katiue
9ed66a05e6 fix bug 2025-01-12 20:18:52 +07:00
katiue
f371e4e78d resolve with new webui 2025-01-12 20:13:55 +07: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
db73db1f7c fix macos cannot use own browser 2025-01-11 16:30:31 +08:00
warmshao
b00ebf5ee4 Merge pull request #81 from vvincent1234/fix/default_api_key
remove default api key
2025-01-11 11:17:04 +08:00
vvincent1234
ed38f5bb7e remove default api key 2025-01-11 11:12:34 +08:00
katiue
585800f3c7 reduce amount of changes for merge 2025-01-11 00:07:49 +07:00
katiue
9acd566a1b reduce amount of changes for merge 2025-01-11 00:04:03 +07:00
katiue
7a86580397 optimize code 2025-01-11 00:00:14 +07:00
katiue
808d40cd73 optimize code 2025-01-10 23:55:00 +07:00
katiue
4c1240ccb5 reduce amount of changes for merge 2025-01-10 23:45:23 +07:00
katiue
9d73c89adc reduce amount of changes for merge 2025-01-10 23:33:07 +07:00
katiue
ea71a896ae merge util files and remove duplicated library import 2025-01-10 22:18:46 +07:00