claude-code-proxy/proxy/internal/provider/provider.go
Seif Ghazi 4675fee4a3
route cleanup
working

Working version
2025-08-04 21:57:44 -04:00

15 lines
369 B
Go

package provider
import (
"context"
"net/http"
)
// Provider is the interface that all LLM providers must implement
type Provider interface {
// Name returns the provider name (e.g., "anthropic", "openai")
Name() string
// ForwardRequest forwards a request to the provider's API
ForwardRequest(ctx context.Context, req *http.Request) (*http.Response, error)
}