mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-10-07 02:58:15 +00:00
Fix recursive api request generator
This commit is contained in:
parent
c687086b69
commit
237c9aa02f
1 changed files with 2 additions and 1 deletions
|
|
@ -751,7 +751,8 @@ export class ClaudeDev {
|
|||
throw new Error("API request failed")
|
||||
}
|
||||
await this.say("api_req_retried")
|
||||
return this.attemptApiRequest(previousApiReqIndex)
|
||||
// delegate generator output from the recursive call
|
||||
yield* this.attemptApiRequest(previousApiReqIndex)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue