update
This commit is contained in:
@@ -472,7 +472,11 @@ func HandleProy(c *gin.Context) {
|
|||||||
if c.Request.URL.Path == "/v1/audio/transcriptions" {
|
if c.Request.URL.Path == "/v1/audio/transcriptions" {
|
||||||
WhisperProxy(c)
|
WhisperProxy(c)
|
||||||
return
|
return
|
||||||
|
}else if c.Request.URL.Path == "/v1/complete"{
|
||||||
|
ClaudeProxy(c)
|
||||||
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if c.Request.URL.Path == "/v1/chat/completions" && localuser {
|
if c.Request.URL.Path == "/v1/chat/completions" && localuser {
|
||||||
if store.KeysCache.ItemCount() == 0 {
|
if store.KeysCache.ItemCount() == 0 {
|
||||||
|
|||||||
Reference in New Issue
Block a user