feat: Add uvx support

This commit is contained in:
Husam Alshehadat
2025-06-27 10:14:26 -07:00
parent 71cbff539e
commit 707e6507ed
4 changed files with 73 additions and 10 deletions

View File

@@ -178,6 +178,11 @@ class OpenRouterProvider(OpenAICompatibleProvider):
# Resolve model alias to actual OpenRouter model name
resolved_model = self._resolve_model_name(model_name)
# Always disable streaming for OpenRouter
# MCP doesn't use streaming, and this avoids issues with O3 model access
if "stream" not in kwargs:
kwargs["stream"] = False
# Call parent method with resolved model name
return super().generate_content(
prompt=prompt,