mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-10-22 09:43:46 +00:00
fix: remove duplicate isUpstreamModelRestrictedByChannel check from merge
This commit is contained in:
@@ -1515,9 +1515,6 @@ func (s *OpenAIGatewayService) SelectAccountWithLoadAwareness(ctx context.Contex
|
||||
if needsUpstreamCheck && s.isUpstreamModelRestrictedByChannel(ctx, *groupID, acc, requestedModel) {
|
||||
continue
|
||||
}
|
||||
if needsUpstreamCheck && s.isUpstreamModelRestrictedByChannel(ctx, *groupID, acc, requestedModel) {
|
||||
continue
|
||||
}
|
||||
candidates = append(candidates, acc)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user