Versions in this module Expand all Collapse all v0 v0.11.0 Jul 5, 2026 Changes in this version + const StreamReadBufferSize + const TargetPartsCount + type Proxy struct + func NewProxy(opts ProxyOptions) (*Proxy, error) + func (p *Proxy) Close() error + func (p *Proxy) Endpoint() *target.Endpoint + func (p *Proxy) ID() string + func (p *Proxy) LLMAdapter() (ai.LLMAdapter, error) + func (p *Proxy) ServeHTTP(ctx context.Context, hzCtx *app.RequestContext) + func (p *Proxy) SetEndpoint(ep *target.Endpoint) + func (p *Proxy) Target() string + type ProxyOptions struct + AIOptions *config.AIOptions + Endpoint *target.Endpoint + ID string + MetricsEnabled bool + Pricing *config.AIPricingOptions + Target string