fix(moa): keep virtual provider on MoA client

This commit is contained in:
Gille 2026-06-27 14:03:43 -06:00 committed by Teknium
parent 5db1430af9
commit 66aeda3550
5 changed files with 34 additions and 5 deletions

View file

@ -765,7 +765,7 @@ def init_agent(
)
agent._client_kwargs = {}
agent.api_key = api_key or "moa-virtual-provider"
agent.base_url = base_url or "moa://local"
agent.base_url = "moa://local"
if not agent.quiet_mode:
print(f"🤖 AI Agent initialized with MoA preset: {agent.model}")
elif agent.api_mode == "bedrock_converse":