Updated all naming from LLM Proxy to GopherGate. Implemented new CSS-based branding and updated Go module/binary naming.
14 lines
345 B
Go
14 lines
345 B
Go
package providers
|
|
|
|
import (
|
|
"context"
|
|
|
|
"gophergate/internal/models"
|
|
)
|
|
|
|
type Provider interface {
|
|
Name() string
|
|
ChatCompletion(ctx context.Context, req *models.UnifiedRequest) (*models.ChatCompletionResponse, error)
|
|
ChatCompletionStream(ctx context.Context, req *models.UnifiedRequest) (<-chan *models.ChatCompletionStreamResponse, error)
|
|
}
|