You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
constcwd=vscode.workspace.workspaceFolders?.map((folder)=>folder.uri.fsPath).at(0)??path.join(os.homedir(),"Desktop")// may or may not exist but fs checking existence would immediately ask for permission which would be bad UX, need to come up with a better solution
// request failed after retrying automatically once, ask user if they want to retry again
1452
1467
// note that this api_req_failed ask is unique in that we only present this option if the api hasn't streamed any content yet (ie it fails on the first chunk due), as it would allow them to hit a retry button. However if the api failed mid-stream, it could be in any arbitrary state where some tools may have executed, so that error is handled differently and requires cancelling the task entirely.
0 commit comments