@@ -738,7 +738,7 @@ Continue upon the previous steps what has been done so far and suggest next step
738738` ;
739739 const userPromptTokens = TokenCounter . countMessage ( new HumanMessage ( userPrompt ) ) ;
740740 const browserStateMessage = await this . _getBrowserStateMessage (
741- /* includeScreenshot */ this . executionContext . supportsVision ( ) && this . executionContext . isLimitedContextMode ( ) ,
741+ /* includeScreenshot */ this . executionContext . supportsVision ( ) && ! this . executionContext . isLimitedContextMode ( ) ,
742742 /* simplified */ true ,
743743 /* screenshotSize */ "large" ,
744744 /* includeBrowserState */ true ,
@@ -832,7 +832,7 @@ Continue upon the previous steps what has been done so far and suggest next step
832832 const additionalTokens = TokenCounter . countMessage ( new HumanMessage ( executionContext + '\n' + plannerOutputForExecutor ) ) ;
833833
834834 const browserStateMessage = await this . _getBrowserStateMessage (
835- /* includeScreenshot */ this . executionContext . supportsVision ( ) && this . executionContext . isLimitedContextMode ( ) ,
835+ /* includeScreenshot */ this . executionContext . supportsVision ( ) && ! this . executionContext . isLimitedContextMode ( ) ,
836836 /* simplified */ true ,
837837 /* screenshotSize */ "medium" ,
838838 /* includeBrowserState */ true ,
@@ -1370,7 +1370,7 @@ Continue upon your previous steps what has been done so far and suggest next ste
13701370` ;
13711371 const userPromptTokens = TokenCounter . countMessage ( new HumanMessage ( userPrompt ) ) ;
13721372 const browserStateMessage = await this . _getBrowserStateMessage (
1373- /* includeScreenshot */ this . executionContext . supportsVision ( ) && this . executionContext . isLimitedContextMode ( ) ,
1373+ /* includeScreenshot */ this . executionContext . supportsVision ( ) && ! this . executionContext . isLimitedContextMode ( ) ,
13741374 /* simplified */ true ,
13751375 /* screenshotSize */ "large" ,
13761376 /* includeBrowserState */ true ,
0 commit comments