mirror of
https://github.com/0xMassi/webclaw.git
synced 2026-07-25 07:41:01 +02:00
chore(llm): make Atlas Cloud opt-in, not a default-chain member
Per maintainer decision: expose Atlas Cloud as an explicit provider (--llm-provider atlascloud / WEBCLAW_LLM_PROVIDER=atlascloud) but do NOT auto-add it to the default ProviderChain when ATLASCLOUD_API_KEY is set. Reverts the chain.rs integration and drops ATLASCLOUD_API_KEY from the 'no providers available' hint (it's not a default provider). The provider itself, its registration, and the explicit CLI branch are kept. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
a76d931cd9
commit
bacc63b62a
2 changed files with 5 additions and 10 deletions
|
|
@ -2265,7 +2265,7 @@ async fn build_llm_provider(cli: &Cli) -> Result<Box<dyn LlmProvider>, String> {
|
|||
let chain = webclaw_llm::ProviderChain::default().await;
|
||||
if chain.is_empty() {
|
||||
return Err(
|
||||
"no LLM providers available -- start Ollama or set OPENAI_API_KEY / ATLASCLOUD_API_KEY / ANTHROPIC_API_KEY"
|
||||
"no LLM providers available -- start Ollama or set OPENAI_API_KEY / ANTHROPIC_API_KEY"
|
||||
.into(),
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue