Skip to content

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 requested a review from pixelass April 7, 2023 10:04
@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.

2 participants