Support Atlas Cloud base URL override

This commit is contained in:
nb213 2026-07-13 21:39:47 +08:00 committed by Valerio
parent 0124ab9df3
commit a7e77532db
3 changed files with 12 additions and 6 deletions

View file

@ -2242,6 +2242,7 @@ async fn build_llm_provider(cli: &Cli) -> Result<Box<dyn LlmProvider>, String> {
"atlascloud" => {
let provider = webclaw_llm::providers::atlascloud::AtlasCloudProvider::new(
None,
cli.llm_base_url.clone(),
cli.llm_model.clone(),
)
.ok_or("ATLASCLOUD_API_KEY not set")?;