headers := map[string]string{ "x-portkey-config": "--", "x-portkey-metadata": "{\"foo\":\"bar\"}", "x-portkey-api-key": "--", } client := openai.NewClientWithConfig(openai.ClientConfig{ //nolint: exhaustruct BaseURL: "https://api.portkey.ai/v1", HTTPClient: &http.Client{ //nolint: exhaustruct Transport: &transportWithCustomHeaders{ headers: headers, }, }, })