agent-infra / agent-infra/sandbox

/v1/shell/view api can't return output incrementally when running command using shell/exec

未關閉
#69 0 則留言 0 個 reaction 已指派 1 人 已被 @ycjcl868 認領 在 GitHub 檢視
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 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。