From 9cfbf44f588564d4ed803980c77b7b0882a61b51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9sar=20P=C3=A9rez?= Date: Fri, 20 Feb 2026 13:37:14 +0100 Subject: [PATCH] fix(providers): update synthetic provider base URL Update the hardcoded synthetic provider base URL from https://api.synthetic.com to https://api.synthetic.new/openai/v1 to match the actual API endpoint. The user verified locally that the old URL doesn't work and confirmed the fix works by using the custom provider syntax as a workaround: default_provider = "custom:https://api.synthetic.new/openai/v1" This change makes the synthetic provider work out of the box without requiring users to use the custom provider workaround. --- 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 4175e79eb..596c3a305 100644 --- a/src/providers/mod.rs +++ b/src/providers/mod.rs @@ -1000,7 +1000,7 @@ fn create_provider_with_url_and_options( ), )), "synthetic" => Ok(Box::new(OpenAiCompatibleProvider::new( - "Synthetic", "https://api.synthetic.com", key, AuthStyle::Bearer, + "Synthetic", "https://api.synthetic.new/openai/v1", key, AuthStyle::Bearer, ))), "opencode" | "opencode-zen" => Ok(Box::new(OpenAiCompatibleProvider::new( "OpenCode Zen", "https://opencode.ai/zen/v1", key, AuthStyle::Bearer,