Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Proxy ¶
type Proxy struct {
// contains filtered or unexported fields
}
Proxy handles HTTP proxying for LLM API calls.
func NewProxyWithPipeline ¶
func NewProxyWithPipeline(listenAddr, targetURL string, cfg filter.PipelineConfig) *Proxy
NewProxyWithPipeline creates a proxy with an explicit runtime pipeline config.
func (*Proxy) ListenAddr ¶
func (*Proxy) ServeHTTP ¶
func (p *Proxy) ServeHTTP(w http.ResponseWriter, r *http.Request)
ServeHTTP implements http.Handler.
func (*Proxy) SetModelAlias ¶
SetModelAlias adds a model alias mapping.
func (*Proxy) Stats ¶
func (p *Proxy) Stats() *ProxyStats
Click to show internal directories.
Click to hide internal directories.