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: pass api_key directly to litellm for more robust auth
Re-binfba5345d20b7
diff --git a/nanobot/providers/litellm_provider.py b/nanobot/providers/litellm_provider.pyindex 9d76c2afd..dd50ed9b7 100644--- a/nanobot/providers/litellm_provider.py+++ b/nanobot/providers/litellm_provider.py@@ -132,6 +132,10 @@ class LiteLLMProvider(LLMProvider):# Apply model-specific overrides (e.g. kimi-k2.5 temperature)self._apply_model_overrides(model, kwargs)+ # Pass api_key directly — more reliable than env vars alone+ if self.api_key:+ kwargs["api_key"] = self.api_key+# Pass api_base for custom endpointsif self.api_base:kwargs["api_base"] = self.api_base