Skip to content
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

Pytest GPT error #146

Closed
ryansurf opened this issue Oct 5, 2024 · 1 comment
Closed

Pytest GPT error #146

ryansurf opened this issue Oct 5, 2024 · 1 comment

Comments

@ryansurf
Copy link
Owner

ryansurf commented Oct 5, 2024

Pytest is failing due to the test_print_gpt() function in tests/test_helper.py.

The reason for this is we are giving the input: "Please output 'gpt works'" to the GPT and checking if "gpt_works" is in the response for the test. However, now the gpt responds with: 'I\'m sorry, but I cannot directly display text within a specific format or based on real-time information. However, I...\n\nPlease replace \'test test\', \'test degrees\', and \'test seconds\' with the actual values for a specific output.'.

We may have to come up with a more clever prompt!

@macnult
Copy link
Contributor

macnult commented Oct 8, 2024

Submitted a PR with confidence about this but it appears to be passing/failing without consistency, especially with the last commit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants