Merge branch 'BeehiveInnovations:main' into feat-dockerisation
This commit is contained in:
@@ -14,7 +14,7 @@ import os
|
|||||||
# These values are used in server responses and for tracking releases
|
# These values are used in server responses and for tracking releases
|
||||||
# IMPORTANT: This is the single source of truth for version and author info
|
# IMPORTANT: This is the single source of truth for version and author info
|
||||||
# Semantic versioning: MAJOR.MINOR.PATCH
|
# Semantic versioning: MAJOR.MINOR.PATCH
|
||||||
__version__ = "5.7.3"
|
__version__ = "5.7.4"
|
||||||
# Last update date in ISO format
|
# Last update date in ISO format
|
||||||
__updated__ = "2025-06-27"
|
__updated__ = "2025-06-27"
|
||||||
# Primary maintainer
|
# Primary maintainer
|
||||||
|
|||||||
@@ -178,6 +178,11 @@ class OpenRouterProvider(OpenAICompatibleProvider):
|
|||||||
# Resolve model alias to actual OpenRouter model name
|
# Resolve model alias to actual OpenRouter model name
|
||||||
resolved_model = self._resolve_model_name(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
|
# Call parent method with resolved model name
|
||||||
return super().generate_content(
|
return super().generate_content(
|
||||||
prompt=prompt,
|
prompt=prompt,
|
||||||
|
|||||||
Reference in New Issue
Block a user