refactor: Centralize stream handling and helper functions in relay package

This commit is contained in:
1808837298@qq.com committed 2025-03-05 19:47:41 +08:00
1 parent 3f824d7781
commit d647214555
20 files changed
+228 -195

No files matched your search

-1
View File
@@ -326,7 +326,6 @@ func GetModelRatio(name string) (float64, bool) {
}
ratio, ok := modelRatioMap[name]
if !ok {
common.SysError("model ratio not found: " + name)
return 37.5, operation_setting.SelfUseModeEnabled
}
return ratio, true