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(openrouter): preserve native model prefix
Paresh Mathur03b55791b4f5
diff --git a/nanobot/providers/litellm_provider.py b/nanobot/providers/litellm_provider.pyindex ebc8c9b91..2bd58c78d 100644--- a/nanobot/providers/litellm_provider.py+++ b/nanobot/providers/litellm_provider.py@@ -249,6 +249,11 @@ class LiteLLMProvider(LLMProvider):"temperature": temperature,}+ # LiteLLM strips the `openrouter/` prefix unless the provider is+ # passed explicitly, which breaks native OpenRouter model IDs.+ if self._gateway and self._gateway.name == "openrouter":+ kwargs["custom_llm_provider"] = "openrouter"+# Apply model-specific overrides (e.g. kimi-k2.5 temperature)self._apply_model_overrides(model, kwargs)