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

docs: complete HTTP client config example (#1193)

Shawn Wang1cac74e9a4b4
diff --git a/crates/libsy-llm-client/README.md b/crates/libsy-llm-client/README.md
index 3cccb5d41..837fb3720 100644
--- a/crates/libsy-llm-client/README.md
+++ b/crates/libsy-llm-client/README.md
@@ -71,6 +71,7 @@ fn build_client() -> switchyard_llm_client::Result<TranslatingLlmClient> {
forward_auth: false,
extra_headers: BTreeMap::new(),
extra_body: BTreeMap::new(),
+ omit_body_fields: Default::default(),
reasoning_effort: None,
max_retries: 2,
failure_cooldown: std::time::Duration::from_secs(5),