Interactive shell tool #23667
Cgrandjean
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello guys,
I'm pretty new to langchain so forgive me if my question is obvious.I'm currently using ShellTool and its working well except one aspect.I have few cases where the shell is asking for a feedback from the user.
For example if i use the tool in this way:
shell_tool = ShellTool(ask_human_input=True)
shell_tool.invoke('sudo -S -i')
It will just run forever and not ask an input to the user to complete the task.How can i make it interactive and ask for user input or for a chain to complete the asked input?
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions