Commit Graph

1452 Commits

Author SHA1 Message Date
bab 65bc856851 feat: improve multi-language font support in GIF generation
- Add system-specific Unicode font support for Windows/macOS/Linux
- Prioritize native system fonts with good Unicode coverage:
  - Windows: Microsoft YaHei, Segoe UI
  - macOS: PingFang, Apple Color Emoji
  - Linux: DejaVuSans
- Add common fallback fonts for better compatibility
- Add debug logging for font loading
- Improve error handling with informative warnings

This change ensures proper text rendering for multiple languages
in generated GIFs without requiring additional font installations.
2025-02-13 20:57:40 +08:00
Matic Zavadlal 88dfabea5b Merge branch 'main' into matic/random 2025-02-13 13:33:09 +01:00
Matic Zavadlal 7d7582586e stash 2025-02-13 13:32:18 +01:00
takuto yuki 7df49b8f10 Fix Use sensitive_data in history_step 2025-02-13 17:02:22 +09:00
Magnus Müller 5e0af71af8 Merge pull request #570 from takeyaqa/fix_save_conversation_path
fix: ensure save_conversation_path ends with a slash and add tests for conversation logging
2025-02-11 22:39:17 -08:00
Magnus Müller e60c41398f Merge pull request #600 from k-w-lee/fix-none-startswith
Fix 'NoneType' object has no attribute 'startswith' error (#534)
2025-02-11 20:07:54 -08:00
Magnus Müller abd1aeb50e Merge pull request #624 from k-w-lee/fix-agent-test
Fix #611: Fix ImportError in browser_use/agent/tests.py (#611)
2025-02-11 19:51:48 -08:00
Magnus Müller 24700adeb9 Merge pull request #631 from pppp606/pppp606/fix_action_name_in_prompt
Update Prompt Action Names to Align with Current Implementation
2025-02-11 19:18:21 -08:00
Magnus Müller a1c7f83908 Merge pull request #643 from mbaynton/tools-fix
Add missing tool descriptions
2025-02-11 19:08:50 -08:00
Nino Risteski 2706154d5f Update service.py
the comment might be redundant since the description is 99% what the comment was?
2025-02-11 13:49:11 +01:00
Matic Zavadlal 640492aa94 stash 2025-02-10 22:59:35 +01:00
Matic Zavadlal 543d01f250 stash 2025-02-10 22:48:23 +01:00
jhachirag7 87411c8ac3 Add missing tool descriptions
Full credit due to @jhachirag7 on this, I've set them as the commit
author. They also opened #602 but it looks like it has some indentation
issue (fixed here) and a few spurious commits and removed files; I only
mean to make it as easy as possible for maintainers to get this merged.

I (mike@mbaynton.com) have tested that with this fix it is possible to
run against AWS Bedrock + Sonnet 3.5 v2.

Fixes #580
2025-02-09 17:50:19 -06:00
Takuto Yuki 6cbd8bad7d Update Action name in prompt 2025-02-09 00:08:41 +09:00
Morris Lee d395958014 fix assert 2025-02-08 18:39:41 +08:00
Morris Lee 7019df9f56 add page summary into AgentBrain of agent test 2025-02-08 18:34:22 +08:00
Morris Lee f3a9aa93fb add interacted element into agent test of BrowserStateHistory class 2025-02-08 18:33:20 +08:00
Lee 76de514f6f Fix 'NoneType' object has no attribute 'startswith' error (#534) 2025-02-07 18:22:11 +08:00
Takeshi Kishi f710c89b40 fix: ensure save_conversation_path ends with a slash and add tests for conversation logging 2025-02-05 19:56:43 +09:00
magmueller ea3fd5b083 Check if file paths are allowed 2025-02-04 22:34:15 -08:00
magmueller 02c2f2e5c8 Also merge AI messages 2025-02-04 21:41:19 -08:00
magmueller 98f159e8b4 Planner with deepseek 2025-02-04 21:41:09 -08:00
Magnus Müller 4c1cf95f23 Merge branch 'main' into o3-mini+gpt4o 2025-02-04 16:37:12 -08:00
magmueller f1d61f29d3 Include instruction for output 2025-02-04 16:35:12 -08:00
magmueller 90f949a72b Planner update prompt 2025-02-04 16:32:58 -08:00
Magnus Müller 6153de2dd7 Merge pull request #551 from VATALU/main
fix: missing param when call multi_act
2025-02-04 16:29:45 -08:00
Robert Kim d9d5a61508 improved observability 2025-02-04 18:24:13 +00:00
Sean 759f7eb3cc fix: missing param when call multi_act 2025-02-04 16:27:10 +08:00
magmueller b88c177d1c Added planer to comine gpt4o with o3 mini 2025-02-03 14:17:38 -08:00
magmueller 0e107dc5d1 Check for pause more often 2025-02-01 18:33:44 -08:00
magmueller 566f4012b1 Include page summary in model output 2025-02-01 18:04:32 -08:00
magmueller 215dd81571 Change notation from _[:] to [] 2025-02-01 12:51:35 -08:00
magmueller 79d96a9e1c Add task and example information 2025-02-01 12:41:52 -08:00
magmueller b39ba1e2ae Fix early stopping - the model counts now until its done 2025-02-01 12:27:48 -08:00
magmueller f92ab7f954 Counting 2025-02-01 11:58:24 -08:00
magmueller 570d4cd991 Wrap task into """ 2025-02-01 11:55:55 -08:00
magmueller 70d2e194e4 Include time later to enable prompt caching 2025-02-01 11:54:08 -08:00
magmueller 947ef4d3ea Filter out interessting information 2025-02-01 00:58:55 -08:00
magmueller 0b10682651 Process sensitive data 2025-02-01 00:44:48 -08:00
magmueller bef3b03da9 Extract always first content with llm and keep that extraction in context 2025-02-01 00:09:55 -08:00
Magnus Müller d03c157b5e Merge pull request #479 from VATALU/record_screenshot_when_not_use_vission
Feature/Record screenshots in AgentHistory even when use_vision=False
2025-01-31 22:37:57 -08:00
magmueller 724f9c3efd Added coordinates and css selectors into state 2025-01-30 23:58:18 -08:00
Sean Gu 0f9ec409ec Merge branch 'browser-use:main' into record_screenshot_when_not_use_vission 2025-01-30 17:48:55 +08:00
Sean Gu 9638191e3b Feature/Record screenshots in AgentHistory even when use_vision=False 2025-01-30 17:29:11 +08:00
magmueller ce4cc8df98 Check for google rate limit error 2025-01-29 22:24:19 -08:00
Magnus Müller 02e4ad59b9 Merge pull request #422 from adsharma/deepseek_r1_compat
deepseek-r1 compatibility
2025-01-29 22:15:41 -08:00
Sean Gu c2b1b98d20 fix: Execute initial actions when rerun history 2025-01-27 21:00:08 +08:00
Arun Sharma fe1f1efe59 deepseek r1: remove think tags 2025-01-26 11:30:17 -08:00
Arun Sharma 04b0b17f4b deepseek-r1 compatibility 2025-01-26 10:58:16 -08:00
Ivens Joris 2d837379f8 feat: make use of the tool_calling_method param on Agent constructor 2025-01-26 13:29:33 -03:00