mirror of
https://github.com/sst/opencode.git
synced 2025-12-23 10:11:41 +00:00
fix: command model selection
This commit is contained in:
parent
dc99005e65
commit
9bcd006045
1 changed files with 3 additions and 3 deletions
|
|
@ -1301,12 +1301,12 @@ export namespace Session {
|
|||
sessionID: input.sessionID,
|
||||
messageID: input.messageID,
|
||||
model: (() => {
|
||||
if (input.model) {
|
||||
return Provider.parseModel(input.model)
|
||||
}
|
||||
if (command.model) {
|
||||
return Provider.parseModel(command.model)
|
||||
}
|
||||
if (input.model) {
|
||||
return Provider.parseModel(input.model)
|
||||
}
|
||||
return undefined
|
||||
})(),
|
||||
agent,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue