refactor: Centralize stream handling and helper functions in relay package
This commit is contained in:
1 parent
3f824d7781
commit
d647214555
20 files changed
+228
-195
No files matched your search
@@ -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