Commit Graph

1452 Commits

Author SHA1 Message Date
Saurav Panda 8dc0f17491 increased loop detection window 2026-02-10 13:09:32 -08:00
Saurav Panda 07817c2c5b Fixed structured output issue with simple judge 2026-02-09 17:09:35 -08:00
laithrw 7f3e26bef0 Merge branch 'main' into fix/sensitive-data-placeholder-instructions 2026-02-09 14:30:09 -05:00
Laith Weinberger e1e170a5fd fix agent not stopping: consecutive_failures counter was resetting on multi-action error steps 2026-02-08 17:25:39 -05:00
laithrw 880b636422 Merge branch 'main' into 3895 2026-02-08 11:15:44 -05:00
Laith Weinberger 9e95241bbb stop agent if browser closed 2026-02-08 11:14:49 -05:00
ashish-cheruku ab83ee7a8a fix: improve sensitive_data placeholder instructions for LLM clarity
Fixes #3970

The LLM was typing literal placeholder names (e.g., 'user_name') instead
of wrapping them in <secret> tags (e.g., '<secret>user_name</secret>').

Changes to _get_sensitive_data_description():
- Added clear 'SENSITIVE DATA' header to draw attention
- Changed placeholder list format from Python list to bullet points
- Added explicit 'MUST' instruction emphasizing the required format
- Added concrete example using the first actual placeholder name
- Added explanation that the system will replace tags with actual values

This makes it much clearer to the LLM that it needs to wrap placeholder
names in <secret> tags for the automatic replacement mechanism to work.
2026-02-06 18:10:14 +05:30
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 3c57cdc756 Merge branch 'main' into update-action-loop-prompt 2026-02-05 12:08:33 -08:00
Saurav Panda 995cb0176b updated default max step to 500 2026-02-05 11:20:47 -08:00
Saurav Panda bb5914f251 added milder nudge for action loop 2026-02-05 11:17:20 -08:00
Saurav Panda 332694bf1a Added date info to simple judge 2026-02-04 17:04:39 -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 da5b4237ba fixed lint issue 2026-02-02 23:01:52 -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 65405d8a79 Merge branch 'main' into align-agent-success-with-judge 2026-02-02 21:50:02 -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 dae6dc6d0e update agent success with judge verdict 2026-02-02 18:34:11 -08:00
Saurav Panda 023367052c in flash mode disable planning 2026-02-02 18:28:28 -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 6224e19758 added fallback incase of no task for judge 2026-02-02 16:24:31 -08:00
Saurav Panda 9bb251f3d6 improved verification note 2026-02-02 16:23:45 -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 5babac8e82 fixed goodhart law failure 2026-02-02 14:33:26 -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
Saurav Panda beefe832af Merge branch 'main' into schema-enforced-extraction-v2 2026-02-01 20:33:32 -08:00
Saurav Panda db832bcb83 added extraction schema 2026-02-01 20:26:50 -08:00
Saurav Panda d5f38a5eeb add grep tool to agent 2026-01-31 19:48:22 -08:00
Laith Weinberger 2c5682618b only use special anthropic prompt for flash, as thinking & main sys are now min length 2026-01-31 16:03:45 -05:00
Saurav Panda e25fa9a4d8 Merge branch 'main' into backport-prompt-improvements 2026-01-30 17:25:36 -08:00
Saurav Panda 4b0413ee3e Backport prompt improvements from anthropic variants to standard prompts
Standard system prompts (OpenAI/Gemini/etc) were missing several
robustness improvements that the anthropic variants already had.
2026-01-30 17:21:05 -08:00
Saurav Panda 48cc78928a Merge branch 'main' into saurav-panda/step-budget-awareness 2026-01-30 16:59:31 -08:00
Saurav Panda 9b0d2f685f fixed prompt voilation of under 10 step instruction 2026-01-30 16:57:00 -08:00
Saurav Panda 70472eddd8 fixed contradictory done condition 2026-01-30 16:40:05 -08:00
Saurav Panda 3d4dc6fe15 fixed aria hash pop up handling 2026-01-30 15:50:28 -08:00
Saurav Panda 65c59be263 add step budget awareness to prompt 2026-01-30 11:09:06 -08:00
Saurav Panda 6878bd1ca4 handle autocomplete fields 2026-01-30 11:04:00 -08:00
Magnus Müller 3c927b4f9b Merge branch 'main' into increase-step-timeout-180 2026-01-29 02:06:24 -08:00
Magnus Müller 7d66592a0c Increase default step_timeout from 120s to 180s
Production data analysis (24h) shows:
- 36.5% of consecutive failures are AsyncIO CancelledError in browser state retrieval
- Complex pages can take 30-60s for DOM extraction + 30-60s for LLM call
- 120s was too tight for complex pages with slow network

180s (3 min) gives ~50% more buffer while still catching stuck steps.
This is the per-step timeout, not the total task timeout.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 01:07:08 -08:00
Magnus Müller 40336731d5 Remove specific timeout for 'browser-use' model 2026-01-29 00:39:05 -08:00