Commit Graph

160 Commits

Author SHA1 Message Date
liangxinbing 8629c0a4e9 update extract_content action for BrowserUseTool 2025-03-30 23:22:49 +08:00
liangxinbing ae83bc7370 fix bug of stream for ask_tool 2025-03-30 23:05:17 +08:00
liangxinbing 5e479d7777 update deep_research.py 2025-03-30 23:04:32 +08:00
liangxinbing 9f603c6c3d fix bug of type hint 2025-03-30 18:40:23 +08:00
mannaandpoem 8b940a22f9 Merge pull request #951 from a-holm/fix-error-with-cleaning-up
Fix asyncio resource leaks by implementing agent cleanup hierarchy
2025-03-30 18:31:06 +08:00
liangxinbing 2435469f29 remove unused tools 2025-03-30 17:05:34 +08:00
liangxinbing 55015797c6 Add type hint for WebSearch and update SearchSettings 2025-03-30 14:04:34 +08:00
Johan A. Holm af46bfada2 Merge branch 'mannaandpoem:main' into fix-error-with-cleaning-up 2025-03-29 21:35:48 +01:00
liangxinbing 782687f3b7 update WebSearch Tool 2025-03-30 00:30:01 +08:00
mannaandpoem 49e106fd2c Merge pull request #794 from zyren123/memorylimit
Added message limit to the function "add_messages" to ensure that the…
2025-03-29 20:33:52 +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
mannaandpoem d674249804 Merge pull request #963 from Jeffrey95/fix/manus-inf-loop
fix: infinite loop in simple question until max_step is reached
2025-03-29 16:03:33 +08:00
mannaandpoem 34c610857f Update toolcall.py
remove `self.state = AgentState.FINISHED`
2025-03-29 16:02:28 +08:00
liangxinbing 128ba7fbc8 temporarily remove CoTAgent and PlanningAgent 2025-03-29 15:52:10 +08:00
zhiyuanren e10aa08013 Update the MCP configuration, replace the hardcoding value with server_reference in config, and add the MCPSettings class in config.py to support MCP configuration. 2025-03-28 10:19:23 +08:00
Jeffrey95 a8625ee5d9 fix: infinite loop in simple question until max_step is reached 2025-03-28 00:03:15 +08:00
liangxinbing a10b973494 Fix bug of SWEAgent 2025-03-27 08:55:01 +08:00
Johan Holm 6057b9b376 precommit isort change 2025-03-26 11:17:26 +01:00
Johan Holm e86ce6d79f I have implemented a fix to asyncio resource leak errors when the script finishes. A cleanup method has been added to the agent hierarchy (ToolCallAgent, BrowserAgent, Manus), and main.py now ensures this cleanup is called using a try...finally block before the program exits. This should prevent the ValueError: I/O operation on closed pipe exceptions by properly closing browser resources. 2025-03-26 11:08:51 +01:00
mannaandpoem c7a3f465da Merge pull request #859 from minbang930/fix/extracted-content-properties
fix/extracted content properties
2025-03-22 14:20:32 +08:00
zxmfke cdbefb5fc7 fix: pre-commit local 2025-03-22 13:38:27 +08:00
zxmfke f37c3c29a1 Merge branch 'main' of github.com:mannaandpoem/OpenManus into feature-cot 2025-03-22 09:01:39 +08:00
liangxinbing 82e3140357 update structure of flow 2025-03-21 17:37:16 +08:00
zxmfke 8b031958b1 Merge branch 'main' of github.com:mannaandpoem/OpenManus into feature-cot 2025-03-21 14:12:02 +08:00
Sheng Fan 5d18b5dc69 chore: remove useless file 2025-03-21 11:25:16 +08:00
Sheng Fan 567bffb441 style: pre-commit 2025-03-21 11:23:55 +08:00
Sheng Fan acb435f9f5 Merge branch 'mannaandpoem:main' into patch/mcp-server 2025-03-21 11:22:07 +08:00
mannaandpoem d63e88f089 Merge pull request #772 from a-holm/fix-for-search-rate-limits
feat(search): Add configurable fallback engines and retry logic for robust web search
2025-03-21 01:56:21 +08:00
zxmfke 2bb72029be Merge branch 'main' of github.com:mannaandpoem/OpenManus into feature-cot 2025-03-20 23:10:31 +08:00
zxmfke c768e6a668 fix: merge mcp agent 2025-03-20 16:09:23 +08:00
zxmfke 2f59b3e798 feat: cot example 2025-03-20 16:05:40 +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
Sheng Fan 08a20f6880 chore(mcp.server): remove irregular environment patch
refactor(mcp.server): prevent browser-use from affecting mcp stdio communication
2025-03-20 13:25:56 +08:00
Array 4e10b42b30 feat: modular non-intrusive Amazon Bedrock support 2025-03-20 12:15:34 +08:00
liangxinbing dda83efaf0 add mcp prompt 2025-03-20 09:30:35 +08:00
liangxinbing 6fa0b1be95 update SWEAgent 2025-03-20 09:02:50 +08:00
liangxinbing e5808d1a90 update mcp_tools to mcp_clients 2025-03-20 09:02:28 +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
liangxinbing 74f438bde3 update mcp name 2025-03-20 02:03:20 +08:00
liangxinbing 8fca2ff1b7 Merge remote-tracking branch 'origin/main' 2025-03-20 01:39:58 +08:00
liangxinbing 14fa48e8d7 add mcp 2025-03-20 01:10:04 +08:00
Johan Holm 59a92257be Merge branch 'main' of https://github.com/a-holm/OpenManus into fix-for-search-rate-limits 2025-03-19 10:50:25 +01:00
Sheng Fan 44243a1b97 fix(browser_use_tool): reimplement screenshot logics to get JPEG data 2025-03-19 16:57:12 +08:00
Sheng Fan b9df45bc68 chore(app/tool): remove constructor in LocalFileOperator 2025-03-19 15:44:06 +08:00
Sheng Fan d644d976b0 fix: pre-commit 2025-03-19 14:12:46 +08:00
Sheng Fan 7e3609f19f chore(file_operators): use utf-8 as default encoding 2025-03-19 14:10:07 +08:00
Sheng Fan 94e2ab7c86 fix(llm): accept empty choices as valid response and handle that case gracefully 2025-03-19 14:09:46 +08:00
Sheng Fan 4ea7f8e988 merge: main from upstream 2025-03-19 13:34:43 +08:00
liangxinbing b7dcbfecb3 update extract_content action for BrowserUseTool 2025-03-19 13:27:08 +08:00