Closed
Description
gptscript version - v0.0.0-dev-faaee653-dirty
Steps to reproduce the problem:
- Execute the following script
Context: github.com/gptscript-ai/clio/context
Chat: true
You are a good assistant. Wait for user to ask you a question.
- Execute the following script that lists the directory after 15 minutes
- Notice that the script execution quits without executing the
ls
command since time timeout of 15 minutes for tool execution is hit.
I found the test1.sh script in the current directory. I'll go ahead and execute it now.
Let's run the script.
┌────────────────────────────────┐
│ Call Arguments: │
│ │
│ exec {"command":"sh test1.sh"} │
└────────────────────────────────┘
Running sh test1.sh
┌────────────┐
│ output: 1 │
│ output: 2 │
│ output: 3 │
│ output: 4 │
│ output: 5 │
│ output: 6 │
│ output: 7 │
│ output: 8 │
│ output: 9 │
│ output: 10 │
│ output: 11 │
│ output: 12 │
│ output: 13 │
│ output: 14 │
│ output: 15 │
└────────────┘
%
Expected Behavior:
Provider user information about the time out and continue to be in the thread conversation mode instead of exiting abruptly.