-
-
Notifications
You must be signed in to change notification settings - Fork 724
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
AI features for CodeceptJS #3713
Conversation
DavertMik
commented
Jul 1, 2023
•
edited
Loading
edited
- Integrated OpenAI library
- added heal plugin to automatically fix broken steps in test
- added support for OpenAI requests inside interactive pause
- added general OpenAI helper for whatever
|
||
const response = completion?.data?.choices[0]?.message?.content; | ||
|
||
console.log(response); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shall we remove this log?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not really, we would like to see the response from OpenAI here
This is why I explicitly print as console.log... But ,maybe I should use output print, that also makes a deal
|
||
const response = await this.aiAssistant.createCompletion(messages); | ||
|
||
console.log(response); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shall we remove this?