refactor: aws

This commit is contained in:
CaIon
2025-10-15 16:44:33 +08:00
parent 5069482d22
commit 31e09b960f
7 changed files with 108 additions and 113 deletions
+1 -1
View File
@@ -124,5 +124,5 @@ var ChannelName = "aws"
// 判断是否为Nova模型
func isNovaModel(modelId string) bool {
return strings.HasPrefix(modelId, "nova-")
return strings.Contains(modelId, "nova-")
}