fixed API endpoint for alias models (#216)

Co-authored-by: Achifaifa <github@achi.se>
This commit is contained in:
Yuri 2025-07-08 15:58:47 +02:00 committed by GitHub
parent 96eebfbd9f
commit d61eb38ed2
1 changed files with 1 additions and 1 deletions

View File

@ -2679,7 +2679,7 @@ class OpenAIChatCompletionsModel(Model):
model_str = str(kwargs["model"]).lower()
if "alias" in model_str:
kwargs["api_base"] = "http://api.aliasrobotics.com:666/"
kwargs["api_base"] = "https://api.aliasrobotics.com:666/"
kwargs["custom_llm_provider"] = "openai"
kwargs["api_key"] = os.getenv("ALIAS_API_KEY", "REDACTED_ALIAS_KEY")
elif "/" in model_str: