agent-infra / agent-infra/sandbox
/v1/shell/view api can't return output incrementally when running command using shell/exec
未關閉
enhancement
- 主要語言
- Python
- 星號
- 5.9k
- 分支
- 529
- 平均合併
- 4 小時 8 分鐘
- 30 天內合併 PR
- 4
描述
I tried to run a command using async mode by calling /v1/shell/exec api, the command will have stdout output.
At the same time, I use the session id returned by /v1/shell/exec api and call /v1/shell/view, I expect to see stdout for the command I ran, but got empty result in 'output' field.
Only when the process finished then I can get the stdout for the command I ran using /v1/shell/view.
貢獻指南
評估
這個 Issue 還沒有評估資料。