Skip to content

Commit b018763

Browse files
foo
1 parent 9954bdb commit b018763

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

pkg/openai/client.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -138,10 +138,6 @@ func (c *Client) ValidAuth() error {
138138
}
139139

140140
func (c *Client) Supports(ctx context.Context, modelName string) (bool, error) {
141-
if c.defaultModel != "" && c.defaultModel == modelName {
142-
return true, nil
143-
}
144-
145141
models, err := c.ListModels(ctx)
146142
if err != nil {
147143
return false, err

0 commit comments

Comments
 (0)