Commit Graph

213 Commits

Author SHA1 Message Date
Cursor Agent 270e418cea feat(agent): expose max_clickable_elements_length as Agent parameter
- Add max_clickable_elements_length parameter to Agent.__init__ with default 40000
- Add max_clickable_elements_length to AgentSettings
- Pass parameter through MessageManager to AgentMessagePrompt
- Bump version to 0.11.10a2

Co-authored-by: Magnus Müller <MagMueller@users.noreply.github.com>
2026-02-17 02:07:09 +00:00
Saurav Panda 8263a8d91d change max failure to 5 2026-02-10 19:12:45 -08:00
Saurav Panda 42cbf9ca15 Changed consecutive failure to 7 2026-02-10 18:31:30 -08:00
Saurav Panda 33831f2b12 increase default consecutive failure to 5 2026-02-10 17:08:35 -08:00
Saurav Panda d1c9a38c00 Merge branch 'main' into message-compaction 2026-02-05 20:29:03 -08:00
Saurav Panda 6b9910a546 changed the threshold for compaction 2026-02-05 16:41:08 -08:00
Saurav Panda 79501fe2cd added message compaction for agent 2026-02-05 12:26:11 -08:00
Saurav Panda bb5914f251 added milder nudge for action loop 2026-02-05 11:17:20 -08:00
Saurav Panda cec4aea3bc increased threshold for loop detection 2026-02-04 16:34:42 -08:00
Saurav Panda b96b9436fc fixed agent loop detection 2026-02-03 16:00:08 -08:00
Saurav Panda bd4ead5d2e Action Loop detection 2026-02-03 15:19:59 -08:00
Saurav Panda 0dba38ed95 Merge branch 'main' into align-agent-success-with-judge 2026-02-02 22:16:11 -08:00
Saurav Panda 8565c7d267 updated agent success with simple judge 2026-02-02 22:14:45 -08:00
Saurav Panda bce72138c4 fixed lint issue 2026-02-02 21:49:48 -08:00
Saurav Panda 4d5976c427 Merge branch 'main' into improve-agent-planning 2026-02-02 21:45:06 -08:00
Saurav Panda 74e26e0b93 Merge branch 'main' into align-agent-success-with-judge 2026-02-02 17:14:43 -08:00
Saurav Panda f1fbdbc1a8 removed self verify injection to agent 2026-02-02 17:10:01 -08:00
Saurav Panda 4a522a6f1c dynamic planing exploration 2026-02-02 16:26:50 -08:00
Saurav Panda 71e7481034 added one more retry if simple judge thinks it failed the task 2026-02-02 16:13:57 -08:00
Saurav Panda defe37dd28 Improve multiact for agent 2026-02-02 12:50:03 -08:00
Saurav Panda c33e9494c5 align agent success with simple judge 2026-02-02 12:33:27 -08:00
Saurav Panda 5ad365e31b added basic planing to agents 2026-02-02 12:28:29 -08:00
hacking-racoon 38703d5ad7 perf: lazy import for openai and reportlab to reduce startup latency
- agent/views.py: Move RateLimitError import inside format_error() function
  to avoid loading openai SDK (~800ms) at module level
- llm/messages.py: Replace openai.BaseModel with pydantic.BaseModel directly
  to remove unnecessary openai dependency
- filesystem/file_system.py: Move reportlab imports inside sync_to_disk_sync()
  to avoid ~40ms startup cost when PDF generation is not used
- utils.py: Convert OpenAIBadRequestError and GroqBadRequestError to lazy
  loaders to avoid loading SDKs at module level

This improves import time for users who don't use OpenAI provider,
especially when using Anthropic, Google, or other providers.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-14 01:48:47 +09:00
mertunsall 9b894150d5 fix structured output for sandboxes 2025-12-12 15:35:34 -08:00
mertunsall ed7cfa4ab2 fix title problem in schema as well as enum problems 2025-11-25 13:02:39 -08:00
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
Saurav Panda 5e356108f9 feat: added AI summary for rerun task 2025-11-20 21:40:30 +05:30
Saurav Panda e57f7ac14f added variable detection from agent history 2025-11-20 14:39:32 +05:30
Saurav Panda 8f8713b001 feat: added step_interval calculation for history 2025-11-20 10:28:28 +05:30
mertunsall dfbba0e062 add ground truth to judge 2025-11-12 11:16:40 -08:00
mertunsall f3961e0b39 ask for shorter judge output 2025-11-08 09:55:02 -08:00
mertunsall d3a88ce351 vision defaults to True 2025-11-06 16:29:09 -08:00
mertunsall 67d2f12665 default to PNG everywhere 2025-11-06 14:51:52 -08:00
mertunsall e68114662f fix linter 2025-11-06 13:59:23 -08:00
Mert Unsal c4e2dfb39a Update browser_use/agent/views.py 2025-11-06 13:42:38 -08:00
Cursor Agent cb814da33e Add impossible_task and reached_captcha to JudgementResult
Co-authored-by: mailmertunsal <mailmertunsal@gmail.com>
2025-11-06 21:38:18 +00:00
mertunsall 03c9e94dc6 allow reading images such as jpg/png, as well as docx, fixes to the flash system prompt 2025-11-03 16:41:27 -08:00
Alezander9 299cf6a9d0 Merge remote-tracking branch 'upstream/main' into library-judge 2025-10-31 21:03:23 -07:00
Alezander9 15911c8c72 fix bugs in library judge and make it off by default 2025-10-31 20:20:36 -07:00
Alezander9 0f1946cb54 implement simple judge directly into the library on done action 2025-10-31 20:01:07 -07:00
Gregor Žunič 5e428e829b Merge branch 'main' into feature/remote-code 2025-10-31 12:19:39 -07:00
Magnus Müller 66c2d7dd97 Output structure msg 2025-10-30 10:54:33 -07:00
Magnus Müller 78beda65fb Revert "Set vision to true by default"
This reverts commit 62ad269975.
2025-10-30 00:44:53 -07:00
Magnus Müller 62ad269975 Set vision to true by default 2025-10-29 22:46:46 -07:00
Gregor Žunič bc3fd6a2dc loaders for AgentHistoryModel from dict 2025-10-16 14:36:57 -07:00
mertunsall 7632a9f56f store state message in the history 2025-10-08 16:49:50 +02:00
Magnus Müller 1b6b674796 Update sensitive data 2025-10-05 15:24:47 -07:00
Magnus Müller 90d414042a Update docs 2025-10-05 15:09:35 -07:00
Magnus Müller 968414b982 Compress gemini schema 2025-10-05 12:48:25 -07:00
Magnus Müller 7b995b7fc1 Refactor action field descriptions in AgentOutput models
- Removed redundant description from action field in AgentOutput and its subclasses.
- Updated action extraction documentation in Tools to clarify usage and limitations.
- Enhanced search_engine field description in SearchAction for better clarity on default behavior.
2025-10-05 11:29:19 -07:00