Versions in this module Expand all Collapse all v1 v1.0.3 Mar 10, 2026 Changes in this version + func Complete(ctx context.Context, client gochatcore.Client, prompt string) (string, error) + func CompleteStream(ctx context.Context, client gochatcore.Client, prompt string) (<-chan string, error) + type CircuitBreakerClient struct + func NewCircuitBreakerClient(client gochatcore.Client, breaker *circuitbreaker.CircuitBreaker) *CircuitBreakerClient + func (c *CircuitBreakerClient) Chat(ctx context.Context, messages []gochatcore.Message, opts ...gochatcore.Option) (*gochatcore.Response, error) + func (c *CircuitBreakerClient) ChatStream(ctx context.Context, messages []gochatcore.Message, opts ...gochatcore.Option) (*gochatcore.Stream, error)