File tree 2 files changed +6
-5
lines changed
2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " reactgenie-lib" ,
3
- "version" : " 1.1.53 " ,
3
+ "version" : " 1.1.54 " ,
4
4
"description" : " A Toolkit for Multimodal Applications" ,
5
5
"author" : " valkjsaaa" ,
6
6
"license" : " Apache-2.0" ,
Original file line number Diff line number Diff line change @@ -164,14 +164,15 @@ export function displayResult(
164
164
let displayingObject = null ;
165
165
let displayingObjectType = "" ;
166
166
167
- const result = executionResult . results ;
167
+ const resultSteps : [ { ast : any ; result : any } ] =
168
+ executionResult . results [ 0 ] [ "steps" ] ;
168
169
let lastResult = true ;
169
170
170
- for ( let i = result . length - 1 ; i >= 0 ; i -- ) {
171
- if ( i != result . length - 1 ) {
171
+ for ( let i = resultSteps . length - 1 ; i >= 0 ; i -- ) {
172
+ if ( i != resultSteps . length - 1 ) {
172
173
lastResult = false ;
173
174
}
174
- const step = result [ i ] ;
175
+ const step = resultSteps [ i ] ;
175
176
allDisplayingObjects = [ ] ;
176
177
console . log ( `last executed step ${ JSON . stringify ( step ) } ` ) ;
177
178
const stepResult = step . result ;
You can’t perform that action at this time.
0 commit comments