-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting "Expected to have result"error after completion of a step #20
Comments
Here the same. |
Same issues here |
same here |
I bumped into this today while looking to try out auto-playwright on the cheap with GPT-3.5. I was able to get around the issue as follows: in node_modules/auto-playwright/dist/completeTask.js at line 23 there's an I updated the if (message.role === "assistant" &&
(message.function_call?.name.startsWith("result"))
|| message.content?.indexOf(" successfully ") > -1) {
lastFunctionResult = JSON.parse(message.function_call?.arguments?? 'true');
} GPT-3.5 has been returning a message like "I have successfully ..." or "... as been completed successfully...". I'm not sure why it isn't the same every time, but I've seen a couple variations. In my cursory testing this worked, but YMMV. I'm not sure how it will hold up to more robust situations. |
Below is my test.But am getting the error ""Expected to have result"" just after typing in username.Can you help me here.
test.only("executes query", async ({ page }) => {
await page.goto("https://www.saucedemo.com/");
});
The text was updated successfully, but these errors were encountered: