Your lightweight open-source personal agent.
Python agent-frameworkai-agentai-agentschatbotchatopsdiscord-botllm-agentsllmslocal-llmmcpmodel-context-protocolmulti-agentopenai-compatibleopenclawpersonal-ai-assistantpythonself-hostedtelegram-bot-ai-assistantwebuiworkflow-automation
fix: correct API key environment variable for vLLM mode
popcell8cde0b307235
diff --git a/nanobot/providers/litellm_provider.py b/nanobot/providers/litellm_provider.pyindex 42b4bf5b2..332fec03d 100644--- a/nanobot/providers/litellm_provider.py+++ b/nanobot/providers/litellm_provider.py@@ -42,7 +42,7 @@ class LiteLLMProvider(LLMProvider):os.environ["OPENROUTER_API_KEY"] = api_keyelif self.is_vllm:# vLLM/custom endpoint - uses OpenAI-compatible API- os.environ["OPENAI_API_KEY"] = api_key+ os.environ["HOSTED_VLLM_API_KEY"] = api_keyelif "anthropic" in default_model:os.environ.setdefault("ANTHROPIC_API_KEY", api_key)elif "openai" in default_model or "gpt" in default_model: