fix: remove unnecessary code

This commit is contained in:
kylin 2026-03-07 01:15:11 +08:00 committed by GitHub
parent 7c5add80ed
commit d26ae7f398
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 2 deletions

View File

@ -55,8 +55,6 @@ class OpenAIClient(BaseLLMClient):
api_key = os.environ.get("DEEPSEEK_API_KEY")
if api_key:
llm_kwargs["api_key"] = api_key
else:
raise ValueError("DEEPSEEK_API_KEY environment variable is required for DeepSeek provider")
elif self.provider == "openrouter":
llm_kwargs["base_url"] = "https://openrouter.ai/api/v1"
api_key = os.environ.get("OPENROUTER_API_KEY")