Add the Proxy channel type and relay mode to support proxying requests to custom upstream services.
25 lines
261 B
Go
25 lines
261 B
Go
package apitype
|
|
|
|
const (
|
|
OpenAI = iota
|
|
Anthropic
|
|
PaLM
|
|
Baidu
|
|
Zhipu
|
|
Ali
|
|
Xunfei
|
|
AIProxyLibrary
|
|
Tencent
|
|
Gemini
|
|
Ollama
|
|
AwsClaude
|
|
Coze
|
|
Cohere
|
|
Cloudflare
|
|
DeepL
|
|
VertexAI
|
|
Proxy
|
|
|
|
Dummy // this one is only for count, do not add any channel after this
|
|
)
|