Versions in this module Expand all Collapse all v0 v0.0.3 Mar 26, 2026 v0.0.1 Mar 24, 2026 Changes in this version + const DefaultBaseURL + func ApplyConfigDefaults(baseURL *string, textMaxChars *int, defaultTextMaxChars int) + func ApplyEnv(apiKey, baseURL *string) + func AuthHeaders(baseURL, apiKey string) map[string]string + func Enabled(enabled *bool, apiKey string) bool + func Endpoint(baseURL, path string) (string, error) + func NewProvider[P any](enabled *bool, apiKey string, build func() P) P + func PostAndDecodeJSON(ctx context.Context, baseURL, path, apiKey string, payload any, ...) error + func PostJSON(ctx context.Context, baseURL, path, apiKey string, payload any, ...) ([]byte, error) + func ShouldAttachBearerAuth(baseURL string) bool