refactor: remove redundant env var setting, add DeepSeek to docs

This commit is contained in:
Re-bin
2026-02-05 08:55:41 +00:00
parent ac45630116
commit 301fba568b
2 changed files with 1 additions and 4 deletions

View File

@@ -107,10 +107,6 @@ class LiteLLMProvider(LLMProvider):
if "gemini" in model.lower() and not model.startswith("gemini/"):
model = f"gemini/{model}"
# Force set env vars for the provider based on model
if "deepseek" in model:
os.environ["DEEPSEEK_API_KEY"] = self.api_key
kwargs: dict[str, Any] = {
"model": model,
"messages": messages,