add more comments

This commit is contained in:
Abi Raja 2024-07-25 15:20:06 -04:00
parent 7af2e34415
commit 21f553a0d8

View File

@ -158,7 +158,10 @@ function App() {
params: CodeGenerationParams,
parentVersion: number | null
) {
// Reset the execution console
setExecutionConsole([]);
// Set the app state
setAppState(AppState.CODING);
// Merge settings with params
@ -201,7 +204,7 @@ function App() {
inputs: {
prompt: params.history
? params.history[params.history.length - 1]
: "",
: "", // History should never be empty when performing an edit
},
},
];