refactor: Centralize stream handling and helper functions in relay package
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user