Skip to content

When tool execution times out (15 minutes), there is no information about this and thread execution exits. #672

Closed
@sangee2004

Description

@sangee2004

gptscript version - v0.0.0-dev-faaee653-dirty

Steps to reproduce the problem:

  1. 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.
  1. Execute the following script that lists the directory after 15 minutes
  2. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions