25 Commits

Author SHA1 Message Date
ZiCode0 5cf20bfeab hidpi fix 2025-05-04 13:56:09 +12:00
liangxinbing f616c5d43d update _BROWSER_DESCRIPTION 2025-03-31 21:30:01 +08:00
liangxinbing ec18292c8e update web_search action 2025-03-31 00:30:01 +08:00
liangxinbing 8629c0a4e9 update extract_content action for BrowserUseTool 2025-03-30 23:22:49 +08:00
liangxinbing 782687f3b7 update WebSearch Tool 2025-03-30 00:30:01 +08:00
mannaandpoem c28d036ee3 Merge pull request #864 from yihong0618/hy/fix_issue_787
fix: simple browser use tool desc for gpt4o max len close #787
2025-03-29 16:50:41 +08:00
yihong0618 8567344eb3 fix: simple browser use tool desc for gpt4o max len close #787
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2025-03-20 15:56:57 +08:00
minbang930 eef10607e1 Fix using isort 2025-03-20 08:08:51 +09:00
minbang930 8535f41215 fix: Add properties to extracted_content object in browser tool schema
The OpenAI API was rejecting function declarations due to empty properties in
the extracted_content object type. This fix adds required properties to comply
with OpenAI's schema requirements:

- Add 'text' property for storing extracted page content
- Add 'metadata' object with 'source' property for content attribution
- Maintain existing functionality while satisfying API schema validation

Error resolved:
"GenerateContentRequest.tools[0].function_declarations[0].parameters.properties[extracted_content].properties: should be non-empty for OBJECT type"
2025-03-20 07:49:46 +09:00
Sheng Fan 44243a1b97 fix(browser_use_tool): reimplement screenshot logics to get JPEG data 2025-03-19 16:57:12 +08:00
liangxinbing b7dcbfecb3 update extract_content action for BrowserUseTool 2025-03-19 13:27:08 +08:00
liangxinbing c3203e7fa3 update BrowserUseTool 2025-03-18 02:38:56 +08:00
liangxinbing 9bdd820105 update BrowserUseTool 2025-03-17 23:50:42 +08:00
xiangjinyu 50ab26880e add get_current_state description 2025-03-17 20:18:10 +08:00
Cyzus 9bc267cef3 refine help text 2025-03-17 15:44:50 +08:00
Yizhou Chi cc1abe630c fix click 2025-03-17 15:22:50 +08:00
xiangjinyu c0c03c0bef fix _handle_special_tool bug 2025-03-14 13:25:43 +08:00
xiangjinyu c6cd296108 add pre-commit 2025-03-12 20:52:45 +08:00
zhengshuli 3cb4489cd5 Support configuring all BrowserConfig parameters within browser-use. 2025-03-12 17:57:43 +08:00
xiangjinyu 3a958944a0 Adjust code structure 2025-03-11 16:32:13 +08:00
Sheng Fan 0d0f8ab233 chore(browser_use_tool): fix code style according to pre-commit 2025-03-09 11:30:41 +08:00
Sheng Fan 7090490f75 feat(browser_use_tool): add 'read_links' action 2025-03-08 18:23:40 +08:00
Sheng Fan 6b77a99448 feat(browser_use_tool): add 'get_text' action to browser use tool 2025-03-08 16:45:18 +08:00
liangxinbing 07b24752b3 update README.md and app 2025-03-07 01:11:08 +08:00
xiangjinyu 04a1e0a504 add 4 tools PythonExecute(), GoogleSearch(), BrowserUseTool(), FileSaver() 2025-03-06 23:10:14 +08:00