feat: pre to delete custom channel type

This commit is contained in:
CaIon
2024-05-16 18:31:03 +08:00
parent a127461b7f
commit f09e86de06
3 changed files with 10 additions and 3 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ func GetAdaptor(apiType int) channel.Adaptor {
return &xunfei.Adaptor{}
case constant.APITypeZhipu:
return &zhipu.Adaptor{}
case constant.APITypeZhipu_v4:
case constant.APITypeZhipuV4:
return &zhipu_4v.Adaptor{}
case constant.APITypeOllama:
return &ollama.Adaptor{}