refactor(success_rate): update the default configs (#8098)

This commit is contained in:
Chethan Rao
2025-05-22 01:43:10 +05:30
committed by GitHub
parent 278618cc1e
commit 1cdd7d1de3
2 changed files with 6 additions and 6 deletions

View File

@ -1779,11 +1779,11 @@ pub async fn perform_decide_gateway_call_with_open_router(
);
routable_connectors.sort_by(|connector_choice_a, connector_choice_b| {
let connector_choice_a_score = gateway_priority_map
.get(&connector_choice_a.connector.to_string())
.get(&connector_choice_a.to_string())
.copied()
.unwrap_or(0.0);
let connector_choice_b_score = gateway_priority_map
.get(&connector_choice_b.connector.to_string())
.get(&connector_choice_b.to_string())
.copied()
.unwrap_or(0.0);
connector_choice_b_score