refactor(responses): remove compact model suffix handling (#6770)

This commit is contained in:
Seefs
2026-08-11 13:42:32 +08:00
committed by GitHub
parent 253a74dd1b
commit bb234ff418
10 changed files with 21 additions and 133 deletions
+1 -1
View File
@@ -88,7 +88,7 @@ func ChannelType2APIType(channelType int) (int, bool) {
return apiType, true
}
func IsResponsesCompactAPIType(apiType int) bool {
func SupportsResponsesCompact(channelType, apiType int) bool {
switch apiType {
case constant.APITypeOpenAI,
constant.APITypeCodex,