mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-06 02:48:13 +00:00
fix: remove redundant github_copilot check in get_supported_openai_params
The provider_config_manager already handles github_copilot provider through LlmProviders.GITHUB_COPILOT mapping, making the explicit check unnecessary.
This commit is contained in:
parent
8b66b50c31
commit
9f82b89051
1 changed files with 0 additions and 2 deletions
|
|
@ -270,8 +270,6 @@ def get_supported_openai_params( # noqa: PLR0915
|
|||
return ElevenLabsAudioTranscriptionConfig().get_supported_openai_params(
|
||||
model=model
|
||||
)
|
||||
elif custom_llm_provider == "github_copilot":
|
||||
return litellm.GithubCopilotConfig().get_supported_openai_params(model=model)
|
||||
elif custom_llm_provider in litellm._custom_providers:
|
||||
if request_type == "chat_completion":
|
||||
provider_config = litellm.ProviderConfigManager.get_provider_chat_config(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue