Commit Graph

1481 Commits

Author SHA1 Message Date
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
Magnus Müller 3b2b213dd3 Increase LLM timeout to 75s for gemini and browser-use models
Based on production data analysis showing:
- gemini-3-pro-preview has 48% timeout rate with median 23s/step
- browser-use-2.0 timeout tasks have 74% slower time per step (10.7s vs 6.0s)
- Most timeouts occur on steps 11-20 where tasks are making progress

The 45s default was too aggressive. 75s provides ~3x the median step time
as buffer while still catching genuinely stuck tasks.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 00:35:56 -08:00
Laith Weinberger be6873636e clear agent eventbus, not just browser session's 2026-01-28 20:28:14 -05:00
Laith Weinberger b00ffd5380 lint 2026-01-27 18:28:53 -05:00
laithrw 5a3f8b4d54 Merge branch 'main' into fix/respect-use-vision-in-judge-fix 2026-01-27 18:22:06 -05:00
Laith Weinberger f85bbb49c8 pass model_name to SystemPrompt 2026-01-23 16:33:28 -05:00
Laith Weinberger 2f24f53900 use longer prompts for opus/haiku 4.5 to allow caching 2026-01-23 16:20:25 -05:00
Saurav Panda 147db04c1c Merge branch 'main' into add-ax-name-fallback-rerun 2026-01-15 11:03:27 -08:00
Saurav Panda 9339935c1f added check for history item state 2026-01-15 10:50:07 -08:00
Saurav Panda 9c042d7d98 make event bus timeout configurable using env 2026-01-15 10:44:44 -08:00
Saurav Panda 97d71b84fa added a fix for multi menu dropdown 2026-01-15 10:17:59 -08:00
Magnus Müller 6bccc224ca Remove comma 2026-01-10 20:01:14 -08:00
Magnus Müller 5652ba5dd9 Small comment 2026-01-10 19:03:35 -08:00
Magnus Müller c4b9710a84 Less priming for scroll 2026-01-10 18:33:17 -08:00
Magnus Müller 1e0fd4d814 Remove CTA 2026-01-10 17:36:43 -08:00
Magnus Müller 9609aa10e5 Prompt 2026-01-10 17:25:36 -08:00
Magnus Müller fc2dc27c63 Prompts 2026-01-10 17:24:07 -08:00
Mr-Neutr0n d73bca47e8 fix: respect use_vision=False in judge to prevent screenshot leakage (#3726)
When use_vision is set to False, screenshots should not be sent to the
judge LLM. This is a privacy concern as websites may contain sensitive
data that users explicitly do not want shared with LLMs.

Changes:
- Add use_vision parameter to construct_judge_messages()
- Only encode and include screenshots when use_vision is not False
- Pass self.settings.use_vision from _judge_trace() to construct_judge_messages()
- Add comprehensive tests for all use_vision modes

Fixes #3726
2026-01-08 00:44:36 +05:30
Saurav Panda 2c06eabf5f Added ax-name fallback for history rerun. 2026-01-06 12:07:10 -08:00
Saurav Panda 319d0acd45 fixed the edge case for handling max index 2025-12-23 19:29:43 -08:00
Saurav Panda 2aa23f01dc fixed backend_node_id based element counting. 2025-12-23 17:25:38 -08:00
Saurav Panda 0da9457f6b feat: added exp backoff retry and minimum element load 2025-12-23 17:02:28 -08:00