Skip to content

Commit

Permalink
Merge branch 'main' into feat/ai-callback
Browse files Browse the repository at this point in the history
  • Loading branch information
slavingia authored Nov 24, 2024
2 parents 2693e9a + 602fad6 commit 5b4c1e6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/shortest/src/ai/prompts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ tool has finished its execution before you continue with the next action. Once t
has finished its execution, you will recieve the result of the tool execution wether it failed or not. You can decide
to continue based on the result.
2. Do not ask for screenshot until the tool has finished its execution. Once the tool has finished its execution,
has finished its execution, you will recieve the result of the tool execution wether it failed or not.
Then you can ask for screenshot to determine for your next action if anything else is needed.
2. Do not ask for screenshot until the tool has finished its execution. Once the tool has finished its execution,
you will recieve the result of the tool execution wether it failed or not.
Then you can ask for a screenshot to determine for your next action if anything else is needed.
3. If you need to test a scenario that requires you to test the login flow,
you will need to clear the browser data. For that you can use the "logout" tool that is provided to you via tools api.
you will need to clear the browser data. For that you can use the "logout" tool that is provided to you via the tools api.
4. There is a feature provided to you by tools api called "run_callback" that allows you to run callback functions for a given step.
If that's the case, you will need to complete the browser actions for that step first
Expand All @@ -27,4 +27,4 @@ Your task is to:
3. Return results in strict JSON format: { result: "pass" | "fail", reason: string }. for the failure reason,
provide a maximum of 1 sentence.
4. For any click actions, you will need to provide the x,y coordinates of the element to click.
`;
`;

0 comments on commit 5b4c1e6

Please sign in to comment.