refactor(dynamic_routing): add support for shuffle on tie flag to success_based routing (#8241)

Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
Chethan Rao
2025-06-13 12:02:49 +05:30
committed by GitHub
parent 953bace38c
commit c72d365fde
6 changed files with 18 additions and 2 deletions

View File

@ -291,6 +291,7 @@ impl ForeignTryFrom<SuccessBasedRoutingConfigBody> for CalSuccessRateConfig {
SuccessRateSpecificityLevel::Global => Some(ProtoSpecificityLevel::Global.into()),
},
exploration_percent: config.exploration_percent,
shuffle_on_tie_during_exploitation: config.shuffle_on_tie_during_exploitation,
})
}
}