Commit Graph

1537 Commits

Author SHA1 Message Date
Magnus Müller afbb7bf555 Spelling 2025-02-21 16:34:23 -08:00
Magnus Müller bf5b180da5 Include timings for more functions 2025-02-21 16:18:43 -08:00
Carlos Andrés Planchón Prestes 831558bb9f Adding .python-version to .gitignore. 2025-02-21 00:17:40 -03:00
Magnus Müller 4bb161804d Fix message manager - init only if not already messages in history 2025-02-20 12:17:39 -08:00
Gregor Žunič a72eaac749 added bool output 2025-02-19 16:26:47 -08:00
Gregor Žunič 73e6a3f5c1 fixing page timeout error 2025-02-19 16:19:45 -08:00
XxAlonexX ba884a28f9 Fix #759 2025-02-19 10:08:04 +05:30
Magnus Müller b1c420df67 Fix import error AgentStepInfo 2025-02-18 13:01:12 -08:00
Magnus Müller bbac41cc76 Clean up add_tool_message 2025-02-18 12:54:31 -08:00
Magnus Müller f42fbf6d6a Remove max length 2025-02-18 12:40:01 -08:00
Magnus Müller 75d7e455a4 Merge remote-tracking branch 'origin/gregor/random-restructure' into dev 2025-02-18 12:05:17 -08:00
Magnus Müller bbba06b46a Merge branch 'LIB-41-fix-extraction-for-text-fields-in-iframe-bodies' into dev 2025-02-18 11:41:27 -08:00
Magnus Müller 874e150156 Remove tabindex 2025-02-17 19:31:11 -08:00
Magnus Müller 2571332988 Include top layer description 2025-02-17 19:31:03 -08:00
Kushtrim Junuzi 90b8604bf2 fix: Filter out empty values on sensitive_data, Fixes a critical issue with token counts exceeding one million. 2025-02-17 14:26:47 -05:00
Matic Zavadlal a1eac71cb5 Update service.py 2025-02-17 13:41:51 +01:00
Matic Zavadlal 4030af015f Update gif.py 2025-02-17 13:41:08 +01:00
Matic Zavadlal 41e7be6865 Update service.py 2025-02-17 13:32:39 +01:00
Matic Zavadlal a5a026b053 remove lmnr 2025-02-17 13:18:38 +01:00
Matic Zavadlal 13e643ef0c add context 2025-02-16 14:55:20 +01:00
Gregor Žunič 07bfcb9b7a switched to async callback functions 2025-02-15 17:44:45 -08:00
Daniele Roccaforte 2da4e99a60 Update service.py 2025-02-15 20:11:48 +01:00
Magnus Müller e5fe5681e2 Only show last line of error 2025-02-15 09:06:17 -08:00
Matic Zavadlal 4ccd22d6df Update views.py 2025-02-14 22:05:02 +01:00
Matic Zavadlal af76a92570 stash 2025-02-14 21:55:20 +01:00
Matic Zavadlal 1d1f9042fb Update views.py 2025-02-14 19:57:05 +01:00
Matic Zavadlal 9d4db73906 Update service.py 2025-02-14 19:56:57 +01:00
Gregor Žunič ded606a233 outsource state 2025-02-13 22:32:18 -08:00
Gregor Žunič aa19548eff outsourced state v1 2025-02-13 21:48:00 -08:00
WeiBing 057ad45c58 Merge branch 'browser-use:main' into main 2025-02-14 11:10:34 +08:00
WeiBing 403773e04e fix: optimize macOS font loading for better CJK support
Following up on #711, some macOS devices still experienced font rendering issues.
This commit:
- Simplifies macOS font options to use only essential fonts
- Uses Hiragino Sans GB as primary font for its complete Unicode support
- Keeps .AppleSystemUIFont as system fallback
- Retains Apple Color Emoji for emoji support

This change ensures more reliable CJK text rendering across different macOS versions
without requiring additional font installations.

Fixes remaining font issues from #711
2025-02-14 10:55:07 +08:00
Magnus Müller dab504deda Merge pull request #711 from weibing-bab/main
feat: improve multi-language font support in GIF generation
2025-02-13 07:55:26 -08:00
Matic Zavadlal 441efdf4a1 Update tests.py 2025-02-13 14:47:57 +01:00
Matic Zavadlal 71d6195d77 Update service.py 2025-02-13 14:43:01 +01:00
Matic Zavadlal ce2a1e6839 stash 2025-02-13 14:37:08 +01:00
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