23 Commits

Author SHA1 Message Date
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
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
minbang930
1279d77cca update api_type field description to include Ollama
Clarify the description of the api_type field in LLMSettings to accurately
reflect all supported types including Azure, OpenAI, and Ollama.
This makes the documentation consistent with the example configuration.
2025-03-19 10:52:58 +09:00
a-holm
95e3487402 Merge branch 'main' of https://github.com/a-holm/OpenManus into fix-for-search-rate-limits 2025-03-18 21:47:16 +01:00
liangxinbing
421e962258 add workspace_root for Config and update Manus 2025-03-18 23:00:13 +08:00
liangxinbing
99f1f054e4 change python:3.10 to python:3.12 for docker image 2025-03-18 20:52:42 +08:00
seeker
1204d841ae fix: fix bug 2025-03-18 17:56:29 +08:00
seeker
4df605e8db Merge remote-tracking branch 'upstream/main' into sandbox 2025-03-18 17:24:57 +08:00
liangxinbing
9bdd820105 update BrowserUseTool 2025-03-17 23:50:42 +08:00
Johan Holm
711c2805e4 feat(search): Add robust fallback system with configurable retries and enhanced error handling
- Implement multi-engine failover system with configurable fallback order
    - Add retry logic with exponential backoff and rate limit detection
    - Introduce search configuration options:
      * fallback_engines: Ordered list of backup search providers
      * retry_delay: Seconds between retry batches (default: 60)
      * max_retries: Maximum system-wide retry attempts (default: 3)
    - Improve error resilience with:
      - Automatic engine switching on 429/Too Many Requests
      - Full system retries after configurable cooldown periods
      - Detailed logging for diagnostics and monitoring
    - Enhance engine prioritization logic:
      1. Primary configured engine
      2. Configured fallback engines
      3. Remaining available engines

    Example configuration:
    [search]
    engine = "Google"
    fallback_engines = ["DuckDuckGo", "Baidu"]  # Cascading fallback order
    retry_delay = 60                            # 1 minute between retry batches
    max_retries = 3                             # Attempt 3 full system retries

    This addresses critical reliability issues by:
    - Preventing search failures due to single-engine rate limits
    - Enabling recovery from transient network errors
    - Providing operational flexibility through configurable parameters
    - Improving visibility through granular logging (INFO/WARN/ERROR)
2025-03-17 10:43:42 +01:00
liangxinbing
65a3898592 format code and remove max_input_tokens for ToolCallAgent 2025-03-15 14:43:07 +08:00
zhengshuli
9b0b69a5e1 Use the max_input_tokens configuration to constrain the agent’s token usage. 2025-03-14 12:35:26 +08:00
liangxinbing
9c7834eff2 update readme; format code; update config.example.toml 2025-03-14 12:20:59 +08:00
Kingtous
b7774b18ef opt: abstract web search interface, code cleanup 2025-03-13 08:31:40 +08:00
Kingtous
bbaff4f095 feat: add baidu search tool and optional config 2025-03-13 00:27:48 +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
liangxinbing
dc28e9187b adjust code format 2025-03-08 15:54:23 +08:00
Aria F
ecac3382ec
# feat: AzureOpenaiAPI support 2025-03-07 20:55:02 +08:00
seeker
15024e320a add: Added a sandbox for executing commands within docker containers 2025-03-07 18:47:53 +08:00
liangxinbing
07b24752b3 update README.md and app 2025-03-07 01:11:08 +08:00
liangxinbing
d028e64a98 init project 2025-03-06 22:57:07 +08:00