Skip to content

Commit adb4d27

Browse files
authored
fix(go/ai/options): update commonGenOptions apply opts (#3505)
1 parent 96264db commit adb4d27

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

go/ai/option.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,6 @@ func (o *commonGenOptions) applyCommonGen(opts *commonGenOptions) error {
138138
return errors.New("cannot set model more than once (either WithModel or WithModelName)")
139139
}
140140
opts.Model = o.Model
141-
return nil
142141
}
143142

144143
if o.Tools != nil {

0 commit comments

Comments
 (0)