feat: channel kling support New API
This commit is contained in:
1 parent
67eb7315ff
commit
73d9021e95
6 files changed
+66
-43
No files matched your search
@@ -150,7 +150,7 @@ func Path2RelayKling(method, path string) int {
|
||||
relayMode := RelayModeUnknown
|
||||
if method == http.MethodPost && strings.HasSuffix(path, "/video/generations") {
|
||||
relayMode = RelayModeKlingSubmit
|
||||
} else if method == http.MethodGet && strings.Contains(path, "/video/generations/") {
|
||||
} else if method == http.MethodGet && (strings.Contains(path, "/video/generations")) {
|
||||
relayMode = RelayModeKlingFetchByID
|
||||
}
|
||||
return relayMode
|
||||
|
||||
Reference in new issue
Block a user