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

Night session changes: Instructions, history, catch errors for prettify #17

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

TimPietrusky
Copy link
Member

@TimPietrusky TimPietrusky commented Apr 7, 2023

  • The default value of the model property in the flags object has been changed from "gpt-3.5-turbo" to "gpt-3.5-turbo-0301".
  • The instructions string has been modified to include additional rules that must be followed.
  • The spinner.start() function call in the evolve function has been modified to include a different message.
  • The history array has been modified in the evolve function by shifting off the first two elements of the array.
  • The globby function call in the evolve function has been modified to exclude files with the name pattern generation-error-*.js.
  • The console.log() function call in the evolve function has been modified to include additional messages in the output.
  • A try-catch block has been added in the evolve function to catch any errors that occur while writing the next generation's code to a file.
  • A new buildErrorFilename function has been added to build filenames for error files.
  • An await keyword has been added to the fs.writeFile() function call in the evolve function to properly handle errors.
  • The error object in the handleError function has been modified to include a check for an error message in the response data.

@TimPietrusky TimPietrusky changed the title Night session changes Night session changes: Instructions, history, catch errors for prettify Apr 7, 2023
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.

None yet

1 participant