fix(opencode): keep user message variants scoped to model (#21332)
This commit is contained in:
@@ -127,7 +127,9 @@ export namespace LLM {
|
||||
}
|
||||
|
||||
const variant =
|
||||
!input.small && input.model.variants && input.user.variant ? input.model.variants[input.user.variant] : {}
|
||||
!input.small && input.model.variants && input.user.model.variant
|
||||
? input.model.variants[input.user.model.variant]
|
||||
: {}
|
||||
const base = input.small
|
||||
? ProviderTransform.smallOptions(input.model)
|
||||
: ProviderTransform.options({
|
||||
|
||||
Reference in New Issue
Block a user