From 964bf5124d9b2226fe1b5a8c2ad574046036c41d Mon Sep 17 00:00:00 2001 From: Linus Gubenis Date: Fri, 22 Nov 2024 10:34:07 +0100 Subject: [PATCH] Update prompts.ts --- packages/shortest/src/ai/prompts.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/shortest/src/ai/prompts.ts b/packages/shortest/src/ai/prompts.ts index f0d85604..0a1e71ab 100644 --- a/packages/shortest/src/ai/prompts.ts +++ b/packages/shortest/src/ai/prompts.ts @@ -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. Your task is to: 1. Execute browser actions to validate test cases @@ -22,4 +22,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. -`; \ No newline at end of file +`;