Add the Proxy channel type and relay mode to support proxying requests to custom upstream services.
17 lines
259 B
Go
17 lines
259 B
Go
package relaymode
|
|
|
|
const (
|
|
Unknown = iota
|
|
ChatCompletions
|
|
Completions
|
|
Embeddings
|
|
Moderations
|
|
ImagesGenerations
|
|
Edits
|
|
AudioSpeech
|
|
AudioTranscription
|
|
AudioTranslation
|
|
// Proxy is a special relay mode for proxying requests to custom upstream
|
|
Proxy
|
|
)
|