mirror of
https://github.com/songquanpeng/one-api.git
synced 2025-11-16 13:13:41 +08:00
Merge branch 'channel-stream-mode' into refactor-main
This commit is contained in:
@@ -142,6 +142,16 @@ const (
|
||||
ChannelStatusDisabled = 2 // also don't use 0
|
||||
)
|
||||
|
||||
const (
|
||||
ChannelAllowNonStreamEnabled = 1
|
||||
ChannelAllowNonStreamDisabled = 2
|
||||
)
|
||||
|
||||
const (
|
||||
ChannelAllowStreamEnabled = 1
|
||||
ChannelAllowStreamDisabled = 2
|
||||
)
|
||||
|
||||
const (
|
||||
ChannelTypeUnknown = 0
|
||||
ChannelTypeOpenAI = 1
|
||||
|
||||
Reference in New Issue
Block a user