clai icon indicating copy to clipboard operation
clai copied to clipboard

extending the State object

Open TathagataChakraborti opened this issue 4 years ago • 2 comments

Crucial to the sense-act architecture for an AI agent is the State object that it can sense from the "environment" (in our case, the Bash). Depending on the requirements or most popular requests from the community, we will be extending the State object.

This thread is meant to track pending feature requests on this subject.

Screen Shot 2020-03-05 at 5 32 42 PM

TathagataChakraborti avatar Mar 05 '20 22:03 TathagataChakraborti

@flipper83 we have visited the issue with stdout before, since it's hard to capture when the execution closes on the command line. We need to work a way around this coz too many of the use cases depend on the skills being able to read the output on the terminal.

Maybe we can add the stdout information from the last executed command? Ideas welcome!

TathagataChakraborti avatar Mar 05 '20 22:03 TathagataChakraborti

As we told sometimes in the past, it's not possible take the stdout in an easy way, because we could have unexpected errors, like really big outputs, or interactives commands. And for not talking about security reasons

flipper83 avatar Mar 09 '20 08:03 flipper83