Exclude alias0.5 from the forwarding for local evaluation

Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>
This commit is contained in:
Víctor Mayoral Vilches 2025-07-21 08:51:50 +02:00
parent d8d5faacf0
commit 86fcbd5330
1 changed files with 1 additions and 1 deletions

View File

@ -2678,7 +2678,7 @@ class OpenAIChatCompletionsModel(Model):
# Determine provider based on model string
model_str = str(kwargs["model"]).lower()
if "alias" in model_str:
if "alias" in model_str and "alias0.5" not in model_str: # NOTE: exclude alias0.5
kwargs["api_base"] = "https://api.aliasrobotics.com:666/"
kwargs["custom_llm_provider"] = "openai"
kwargs["api_key"] = os.getenv("ALIAS_API_KEY", "REDACTED_ALIAS_KEY")