remove hack

This commit is contained in:
Brandon Thomas committed 2026-05-16 22:20:52 -04:00
1 parent 3191b627aa
commit 43052b072c
1 file changed
-9
@@ -71,15 +71,6 @@ pub async fn run_pipeline_v2(args: RunPipelineV2Args<'_>) -> Result<PipelineResu
let mut cost_builder = router_builder.clone();
cost_builder.provider = Provider::Artcraft;
if matches!(provider, Provider::GmiCloud) {
// We bill global Seedance 2.0 at the same rate (for now) as regular Seedance 2.0
match cost_builder.model {
CommonVideoModel::Seedance2p0Global => cost_builder.model = CommonVideoModel::Seedance2p0,
CommonVideoModel::Seedance2p0FastGlobal => cost_builder.model = CommonVideoModel::Seedance2p0Fast,
_ => {},
}
}
cost_builder.build2()
.map_err(|e| {
warn!("Failed to build2 cost estimate for v2: {}", e);