Commit Graph

4189 Commits

Author SHA1 Message Date
Cursor Agent d1b47eba50 Refactor: Reduce max actions per step to 3
Co-authored-by: mailmertunsal <mailmertunsal@gmail.com>
2025-11-22 01:29:59 +00:00
Cursor Agent 15e7fd6eec Refactor: Use configurable step timeout
Co-authored-by: mamagnus00 <mamagnus00@gmail.com>
2025-11-22 01:28:40 +00:00
kalil0321 bdc8fb08ef Merge branch 'main' into kalil0321/demo-mode 2025-11-21 14:54:32 +01:00
Magnus Müller d301f629fd Merge main into fix-framework-events 2025-11-20 23:09:23 -08:00
Pyry Takala 8bb61d906a Fix: Preserve in-use temporary user_data_dir during browser launch
Previously, when browser launch succeeded after retry using a temporary
directory, the code immediately deleted ALL temporary directories including
the one actively being used by the running browser process. This caused
browser crashes and data corruption when Chrome tried to write to the
deleted user_data_dir during normal operation.

The fix:
- Only clean up unused temporary directories after successful launch
- Preserve the currently used temporary directory until browser cleanup
- Update _temp_dirs_to_cleanup to track only the in-use directory for
  proper cleanup during BrowserKillEvent
2025-11-21 02:39:10 +00:00
Pyry Takala 5a3d340ec4 fix: add type ignores for pyright in cache tests
Content blocks are dictionaries at runtime despite type annotations
indicating Pydantic models. Added type: ignore comments to allow
dictionary-style .get() access which works correctly at runtime.
2025-11-21 01:12:56 +00:00
Pyry Takala 3787380829 fix: apply cache_control only to last block in Anthropic messages
Previously, cache_control was applied to every content block and tool call
in a message, which could exceed Anthropic's limit of 4 cache breakpoints
per request. This fix ensures cache_control is only applied to the last
block in each message type:
- Last text block in UserMessage/AssistantMessage content
- Last tool_use block when AssistantMessage has tool calls
- Only the last overall block when AssistantMessage has both content and tools

This prevents exceeding the cache breakpoint limit while maintaining
correct caching behavior.
2025-11-21 01:04:12 +00:00
mertunsall 5d525b7e60 BU model fix 2025-11-20 14:07:05 -08:00
Shubham Singh 515a42bdac Merge branch 'main' into fix/3620-javascript-quote-fixer-regex 2025-11-21 01:37:29 +05:30
kalil0321 ebfbefcfa9 Merge branch 'main' into attempt-fix-real-browser 2025-11-20 18:42:06 +01:00
Saurav Panda 5e356108f9 feat: added AI summary for rerun task 2025-11-20 21:40:30 +05:30
Saurav Panda 8948c47416 add-variable-substitution-in-rerun 2025-11-20 17:54:32 +05:30
kalil0321 0aa531e006 Merge branch 'main' into kalil0321/demo-mode 2025-11-20 11:44:14 +01:00
Saurav Panda e57f7ac14f added variable detection from agent history 2025-11-20 14:39:32 +05:30
Shubham Singh e5d0c666e5 Merge branch 'main' into fix/3620-javascript-quote-fixer-regex 2025-11-20 13:11:51 +05:30
kalil0321 7242b6cedf Merge branch 'main' into kalil0321/demo-mode 2025-11-20 07:19:50 +01:00
kalil0321 ac6c7e7a48 Merge branch 'main' into attempt-fix-real-browser 2025-11-20 07:19:00 +01:00
Saurav Panda 0263f05a7e Merge branch 'main' into fix/openai-reasoning-model-keyerror 2025-11-19 21:48:46 -08:00
Saurav Panda c5d763a8dd wait before execution in execute_history_step 2025-11-20 10:48:03 +05:30
Saurav Panda 8f8713b001 feat: added step_interval calculation for history 2025-11-20 10:28:28 +05:30
kalil0321 0f85870e13 Merge branch 'main' into attempt-fix-real-browser 2025-11-20 01:51:05 +01:00
kalil0321 8ec6592f1b Merge branch 'main' into kalil0321/demo-mode 2025-11-20 01:50:25 +01:00
Shubham Singh ed12b02d55 Merge branch 'main' into fix/3620-javascript-quote-fixer-regex 2025-11-19 12:33:28 +05:30
shubham-021 813c8518e7 fix/regex-pattern-for-quote-fixer 2025-11-19 12:21:08 +05:30
Alezander9 e62129ba93 add the captcha and impossible flag in AgentEvent 2025-11-18 21:29:52 -08:00
Mert Unsal ece9901b83 Merge branch 'main' into fix/scroll-action-default-down-field 2025-11-18 16:28:06 -08:00
Cursor Agent 93dc7a378d Changes made by Agent
Co-authored-by: mailmertunsal <mailmertunsal@gmail.com>
2025-11-18 23:41:22 +00:00
Cursor Agent 73c6c7d76b Changes made by Agent
Co-authored-by: mailmertunsal <mailmertunsal@gmail.com>
2025-11-18 23:37:25 +00:00
kalil0321 fd2c1f2c25 Merge branch 'main' into kalil0321/demo-mode 2025-11-18 22:32:54 +01:00
mertunsall 67e2d779d8 more timeout for gemini 3 pro 2025-11-18 11:54:23 -08:00
kalil0321 50bafbd9aa Change log level from info to debug for session data clearing and browser session reset messages 2025-11-18 18:52:43 +01:00
kalil0321 574b9e3472 Address cubic issue 2025-11-18 18:49:04 +01:00
kalil0321 1de03304e1 Address cubic 2025-11-18 18:25:38 +01:00
kalil0321 85a866e700 Fix some UI inconsistencies 2025-11-18 17:59:23 +01:00
kalil0321 7160f5cf1b Add demo panel script generator and update profile for demo mode display 2025-11-18 17:30:52 +01:00
kalil0321 5c41ea9112 implementlogs persistence 2025-11-18 17:30:07 +01:00
kalil0321 19f933ccad Format session.py 2025-11-18 16:56:31 +01:00
kalil0321 506d0705bf Improved panel 2025-11-18 14:53:24 +01:00
kalil0321 ebc74b75ca Don't log summaries 2025-11-18 13:25:05 +01:00
Utkarsh karki 72233ecc75 Merge branch 'main' into fix/scroll-action-default-down-field 2025-11-18 13:47:01 +05:30
Utkarsh 128607c8a2 fix: add default=True to ScrollAction.down field 2025-11-18 13:42:05 +05:30
Utkarsh 4b88d876c0 Updated CDP client initialization and remove old compatibility fallback 2025-11-18 12:31:48 +05:30
kalil0321 94f4259ec3 Merge branch 'main' into attempt-fix-real-browser 2025-11-17 23:55:21 +01:00
mertunsall 54bf853e8b fix max steps bug 2025-11-17 14:51:30 -08:00
Cursor Agent efc0f83063 Fix: Auto-configure screenshot size for browser-use models
Co-authored-by: mailmertunsal <mailmertunsal@gmail.com>
2025-11-17 01:32:56 +00:00
Utkarsh karki ec92e89920 Merge branch 'main' into fix/scroll-action-default-down-field 2025-11-16 22:36:38 +05:30
Utkarsh a6a557442f fix: Add default=True to ScrollAction.down field to handle LLM responses missing the field
- Fixes validation error when LLM returns {'scroll': {'pages': 3}} without 'down' field
- Defaults to True (scroll down) when 'down' is missing, which is the most common case
- Still supports explicit down=False for scrolling up
- Also fixes CDP client compatibility with older cdp-use versions by making max_ws_frame_size optional

Fixes validation errors with AWS Bedrock Claude and Gemini models
2025-11-16 22:27:58 +05:30
kalil0321 73f4138b10 Merge branch 'main' into attempt-fix-real-browser 2025-11-16 11:58:58 +01:00
Mert Unsal fb8994de13 Revert "Fix: Ignore Inert Carousel Elements" 2025-11-15 23:05:21 -08:00
Mert Unsal b11682bfb5 Merge branch 'main' into Invisible-links 2025-11-15 18:59:55 -08:00