Skip to content

Conversation

@julesnuggy
Copy link
Contributor

No description provided.

@julesnuggy julesnuggy force-pushed the 03-send-gpt-request branch from 2d7ae74 to c849232 Compare June 22, 2023 19:13
main.js Outdated
Comment on lines 5 to 7
if(!setting || !actions.length) {
return null;
}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ignore

main.js Outdated
console.log('SETTING:', setting);
console.log('ACTIONS:', actions);

createStage(setting, actions);
Copy link
Contributor Author

@julesnuggy julesnuggy Jul 13, 2023

Choose a reason for hiding this comment

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

Wrap 57 with if (actions.length) {} to avoid error if ChatGPT decides to game over (which is not yet setup)

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