Skip to content

Switchyard lets LLM applications route traffic across models and providers while preserving native OpenAI and Anthropic API compatibility - enabling flexible model selection, benchmarking, and cost/performance optimization.

Rust

fix: Merge conflict build error (#500)

Graham King2bae4471b625
diff --git a/crates/libsy/src/algorithms/passthrough.rs b/crates/libsy/src/algorithms/passthrough.rs
index 7358a6b1c..6f9952f64 100644
--- a/crates/libsy/src/algorithms/passthrough.rs
+++ b/crates/libsy/src/algorithms/passthrough.rs
@@ -8,9 +8,8 @@ use std::sync::Arc;
use switchyard_protocol::{ModelId, Request};
use super::fall_through::{DefaultTarget, FallThrough};
-use super::util::affinity::AffinityRouter;
+use super::util::affinity::{AffinityRouter, ClassifyTrigger};
use super::util::subagent::{SubagentGate, SubagentOverride};
-use super::util::turn_pin::ClassifyTrigger;
use crate::core::algorithm::{self, Algorithm, Driver};
use crate::core::classifier::Classifier;
use crate::core::state::State;