From 5b19502bd9b8ecbf2e2abb844c48adfbba31d629 Mon Sep 17 00:00:00 2001 From: cd slash <29688941+cd-slash@users.noreply.github.com> Date: Mon, 16 Feb 2026 15:53:34 +0000 Subject: [PATCH] fix(providers): correct Fireworks AI base URL to include /v1 path (#346) The Fireworks API endpoint requires /v1/chat/completions, but the base URL was missing the /v1 path segment, causing 404 errors and triggering a broken responses fallback. Fix: Add /v1 to base URL so correct endpoint is built: https://api.fireworks.ai/inference/v1/chat/completions --- src/providers/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/providers/mod.rs b/src/providers/mod.rs index 1ba11b7..b342675 100644 --- a/src/providers/mod.rs +++ b/src/providers/mod.rs @@ -253,7 +253,7 @@ pub fn create_provider(name: &str, api_key: Option<&str>) -> anyhow::Result Ok(Box::new(OpenAiCompatibleProvider::new( - "Fireworks AI", "https://api.fireworks.ai/inference", key, AuthStyle::Bearer, + "Fireworks AI", "https://api.fireworks.ai/inference/v1", key, AuthStyle::Bearer, ))), "perplexity" => Ok(Box::new(OpenAiCompatibleProvider::new( "Perplexity", "https://api.perplexity.ai", key, AuthStyle::Bearer,