fix(wandb): type supported parameter list

This commit is contained in:
Wolfram Ravenwolf 2026-09-02 02:48:16 +02:00
parent 997a813ab9
commit 1bf9418917

View file

@ -10,7 +10,7 @@ from litellm.llms.openai.chat.gpt_transformation import OpenAIGPTConfig
class WandbConfig(OpenAIGPTConfig):
def get_supported_openai_params(self, model: str) -> list: # mutable-ok: inherited contract
def get_supported_openai_params(self, model: str) -> list[str]: # mutable-ok: inherited contract
return super().get_supported_openai_params(model) + ["reasoning_effort"] # mutable-ok: inherited contract
def map_openai_params(