Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var LLMAllowPaths []string = []string{
"/v1/messages",
"/chat/completions",
"/responses",
}
Functions ¶
func InvokeLLMProxy ¶
func ProvideLLMProxy ¶
Types ¶
type Option ¶
type Option func(*Proxy)
func WithUsageRecorder ¶
func WithUsageRecorder(recorder usageRecorder) Option
type UsageCapture ¶
type UsageCapture struct {
// contains filtered or unexported fields
}
func NewUsageCapture ¶
func NewUsageCapture(logger *slog.Logger, src io.ReadCloser, ctx *UsageCaptureContext) *UsageCapture
func (*UsageCapture) Close ¶
func (b *UsageCapture) Close() error
type UsageCaptureContext ¶
type UsageCaptureContext struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.