mirror of
https://github.com/sst/opencode.git
synced 2025-12-23 10:11:41 +00:00
fix: provider id issue
This commit is contained in:
parent
f33f8ca109
commit
32b5db754e
1 changed files with 1 additions and 1 deletions
|
|
@ -341,7 +341,7 @@ export namespace SessionProcessor {
|
|||
error: e,
|
||||
stack: JSON.stringify(e.stack),
|
||||
})
|
||||
const error = MessageV2.fromError(e, { providerID: input.sessionID })
|
||||
const error = MessageV2.fromError(e, { providerID: input.model.providerID })
|
||||
const retry = SessionRetry.retryable(error)
|
||||
if (retry !== undefined) {
|
||||
attempt++
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue