Commit Graph

969 Commits

Author SHA1 Message Date
Magnus Müller b6e18197a5 Rename total_tokens to current_tokens in message history tracking 2025-02-22 22:31:37 -08:00
Magnus Müller e503f586f0 Add step metadata tracking with timing and token information 2025-02-22 22:29:07 -08:00
Magnus Müller 81aa4fc0cf Reorganize Agent initialization order and improve component setup 2025-02-22 22:04:13 -08:00
Magnus Müller 10d4070d54 Remove todo 2025-02-22 21:51:58 -08:00
Magnus Müller 268ac9a98b for models without tool calling, add available actions to context 2025-02-22 21:51:33 -08:00
Magnus Müller c2f35df9a7 Include TODO 2025-02-22 21:47:19 -08:00
Magnus Müller e3c2364ef1 Merge branch 'main' into System-prompt 2025-02-21 18:42:07 -08:00
Magnus Müller 2cfe937724 Include model for page_extraction_llm 2025-02-21 18:40:04 -08:00
Magnus Müller 6dfe07f1a3 Delete page_summary 2025-02-21 16:56:46 -08:00
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
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
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
Matic Zavadlal a1eac71cb5 Update service.py 2025-02-17 13:41:51 +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 9d4db73906 Update service.py 2025-02-14 19:56:57 +01: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 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 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
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 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 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