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
@ -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…
Reference in New Issue
Block a user