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.
This commit is contained in:
parent
188dc96320
commit
9cfbf44f58
@ -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,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user