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

AI features for CodeceptJS #3713

Merged
merged 6 commits into from
Jul 2, 2023
Merged

AI features for CodeceptJS #3713

merged 6 commits into from
Jul 2, 2023

Conversation

DavertMik
Copy link
Contributor

@DavertMik DavertMik commented Jul 1, 2023

  • 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);
Copy link
Collaborator

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?

Copy link
Contributor Author

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);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shall we remove this?

@DavertMik DavertMik merged commit 3680d3a into 3.x Jul 2, 2023
8 checks passed
@DavertMik DavertMik deleted the ai branch July 2, 2023 08:38
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

Successfully merging this pull request may close these issues.

2 participants