Skip to content

Commit

Permalink
Merge pull request #789 from thedadams/fix-default-model-listing
Browse files Browse the repository at this point in the history
fix: address panic when listing models with default model provider
  • Loading branch information
thedadams authored Aug 12, 2024
2 parents 3f543db + 4197b39 commit 75d9600
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/remote/remote.go
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ func (c *Client) load(ctx context.Context, toolName string) (*openai.Client, err
client: oClient,
url: url,
}
return client.client, nil
return oClient, nil
}

func (c *Client) retrieveAPIKey(ctx context.Context, env, url string) (string, error) {
Expand Down

0 comments on commit 75d9600

Please sign in to comment.