corca-ai / EVAL

EVAL(Elastic Versatile Agent with Langchain) will execute all your requests. Just like an eval method!
MIT License
869 stars 82 forks source link

Feature/terminal strace #10

Closed hanchchch closed 1 year ago

hanchchch commented 1 year ago

Current situation

Proposed solution

  1. watch syscalls of the command (with python-ptrace)
  2. set 5 sec timeout on each syscall execution
  3. if times out, return immediately.
  4. if not, reset the timer and watch for next syscall