Commit Graph

200 Commits

Author SHA1 Message Date
LawyZheng
b4e95d29ce stop using page.click and page.locator in action handler (#426) 2024-06-06 11:04:04 +08:00
Kerem Yilmaz
aedb26b06b update text input logic to make things faster (#425) 2024-06-05 19:27:48 -07:00
LawyZheng
285419349c iframes support (#405)
Co-authored-by: Aleksei Zarubin <12220926+alexzarbn@users.noreply.github.com>
2024-06-06 10:07:32 +08:00
LawyZheng
064c831524 Remove no executed result (#417) 2024-06-06 08:55:42 +08:00
Kerem Yilmaz
92f72b27a5 fix element_id type for action and web action + add unit tests for actions (#424) 2024-06-05 15:41:08 -07:00
Kerem Yilmaz
d89c948b76 support both int and str for element_id (#423) 2024-06-05 13:59:04 -07:00
Kerem Yilmaz
fbe42994a9 the error raised from the base validate_step_execution shouldn't be handled to fail the task (#422) 2024-06-05 13:30:09 -07:00
Kerem Yilmaz
3f3fbbc63d fix input text action with no text in GET steps API (#421) 2024-06-05 13:18:35 -07:00
Kerem Yilmaz
d1ddbf17d1 the error raised from the base validate_step_execution shouldn't be handled to fail the task (#416) 2024-06-04 22:19:04 -07:00
Kerem Yilmaz
fc6ddb7bf6 fix workflow run get with workflow_permanent_id (#415) 2024-06-04 08:27:04 -07:00
Kerem Yilmaz
04c6e55848 Keep track of token counts in steps table (#412) 2024-06-03 15:55:34 -07:00
Kerem Yilmaz
4603894119 Propagate continue_on_failure on all blocks (#411) 2024-06-03 13:48:42 -07:00
Kerem Yilmaz
1333e89c12 Redesign task view (#407) 2024-06-03 20:56:26 +03:00
Kerem Yilmaz
05dbea8384 fix workflow task continue_on_failure (#406) 2024-06-03 10:50:40 -07:00
Aleksei Zarubin
d5abfc9179 Use 4-char element ids instead of sequential integers (#361)
Co-authored-by: LawyZheng <lawyzheng1106@gmail.com>
2024-06-03 19:38:08 +08:00
Kerem Yilmaz
f1d5a3a687 complete_on_downloads for task block (#403) 2024-06-02 23:24:30 -07:00
Kerem Yilmaz
e2259e94cf store max_steps_per_task correctly in task block (#394) 2024-05-30 11:22:28 -07:00
LawyZheng
37c997e58c choose the first valid email username (#380) 2024-05-31 00:49:39 +08:00
LawyZheng
6445fb93b0 skip invalid actions during parsing (#381) 2024-05-30 09:23:58 +08:00
Kerem Yilmaz
6fa5336adf BCC Sender so sender has a copy of the email that was sent out (#384) 2024-05-29 00:53:59 -04:00
Kerem Yilmaz
bfa477a262 Don't skip actions with duplicate element ids (#382) 2024-05-28 11:53:28 -07:00
LawyZheng
1b2077facd fix null element execption (#370) 2024-05-28 15:25:13 +08:00
LawyZheng
e6a356dfc6 set ENABLE_OPENAI defaut to false (#373) 2024-05-27 22:02:08 +08:00
LawyZheng
eab07939f5 fix scrolling failure on some websites (#369) 2024-05-27 15:28:41 +08:00
LawyZheng
20f6fd2a10 fix invalid css query on linked elements (#372) 2024-05-27 15:18:22 +08:00
Kerem Yilmaz
688a615fb2 introduce permission checker to task create api (#368) 2024-05-26 14:51:53 -07:00
Shuchang Zheng
5e88d64a11 input data instantly for press_sequentially when there's too much characters (#367) 2024-05-26 12:15:13 -07:00
Kerem Yilmaz
abca808e6c use workflow_permanent_id for workflow execution api (#366) 2024-05-25 19:32:25 -07:00
Shuchang Zheng
a36b65b894 add timed_out to allowed_transitions list (#338) 2024-05-25 18:52:03 -07:00
Kerem Yilmaz
2b4829f87a Introduce ActionFunction to make it easy to patch and do extra validations before step starts (#365)
Co-authored-by: Shuchang Zheng <wintonzheng0325@gmail.com>
2024-05-25 18:24:35 -07:00
Shuchang Zheng
5d1dac0902 make the press_sequentially timeout 3x of the estimation time (#360) 2024-05-24 00:14:40 -07:00
Kerem Yilmaz
b976f132c4 Fix session key extraction for Bitwarden (#359) 2024-05-23 19:01:32 -07:00
Kerem Yilmaz
753bac3174 Set 5 min timeout for LLM calls (#358) 2024-05-23 18:49:49 -07:00
Kerem Yilmaz
df2aee3c79 Add logs (#357) 2024-05-23 12:07:49 -07:00
Kerem Yilmaz
dea883a463 Sort artifacts by created_at (#356) 2024-05-23 11:53:05 -07:00
LawyZheng
e8378e1fe1 fix terminate action bug (#355) 2024-05-22 16:39:19 +08:00
LawyZheng
43823b6c6b save the elements tree in the prompt as an artifact (#353) 2024-05-22 13:10:27 +08:00
Kerem Yilmaz
e6d4302d8c Auto-fix invalid JSON (#354) 2024-05-21 22:04:32 -07:00
LawyZheng
df09842587 Better handle duplicate elements (#351) 2024-05-22 08:54:47 +08:00
LawyZheng
f86097fc78 DomUtil optimize (#350) 2024-05-21 10:49:21 +08:00
Kerem Yilmaz
0719396136 use press_sequentially to replace fill (#349) 2024-05-20 19:43:45 -07:00
LawyZheng
5acdddf67e deep copy the attribute to avoid duplicated (#345) 2024-05-20 15:05:45 +08:00
LawyZheng
b6d25dff8c add wait for async task (#344) 2024-05-20 12:59:53 +08:00
Kerem Yilmaz
6908ca5844 Pass base parameters to acompletion (#343) 2024-05-17 16:36:15 -07:00
Kerem Yilmaz
55b1699f3e Fix gpt4o -> GPT4O (#341) 2024-05-17 11:42:19 -07:00
Shuchang Zheng
215c74b123 catch asyncio CancelledError (#337) 2024-05-17 10:02:03 -07:00
Suchintan
9a6ec13af6 Ruff (#339) 2024-05-17 12:10:54 -04:00
Divyansh Verma
8598f56a83 GPT4 integration (#324)
Co-authored-by: Suchintan <suchintan@users.noreply.github.com>
2024-05-17 11:25:03 -04:00
Hasnain
45a2840538 gpt-4o integration (#333) 2024-05-17 11:22:08 -04:00
Shuchang Zheng
62e4f23ab3 fix unbound latest_action_screenshot_urls (#334) 2024-05-16 20:52:48 -07:00