diff --git a/pkg/remote/remote.go b/pkg/remote/remote.go index 6a21413b..baa54677 100644 --- a/pkg/remote/remote.go +++ b/pkg/remote/remote.go @@ -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) {