mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-10 22:41:41 +00:00
style: apply black formatting to ovhcloud chat transformation
This commit is contained in:
parent
982fed4632
commit
8f48d880da
1 changed files with 2 additions and 2 deletions
|
|
@ -16,6 +16,7 @@ from litellm.llms.base_llm.chat.transformation import BaseLLMException
|
|||
from litellm.llms.base_llm.chat.transformation import LiteLLMLoggingObj
|
||||
from litellm.types.llms.openai import AllMessageValues
|
||||
|
||||
|
||||
class OVHCloudChatConfig(OpenAIGPTConfig):
|
||||
@property
|
||||
def custom_llm_provider(self) -> Optional[str]:
|
||||
|
|
@ -74,7 +75,6 @@ class OVHCloudChatConfig(OpenAIGPTConfig):
|
|||
response.update(extra_body)
|
||||
return response
|
||||
|
||||
|
||||
def transform_response(
|
||||
self,
|
||||
model: str,
|
||||
|
|
@ -116,7 +116,7 @@ class OVHCloudChatConfig(OpenAIGPTConfig):
|
|||
if reasoning_new is not None and reasoning_legacy is None:
|
||||
message.reasoning_content = reasoning_new
|
||||
|
||||
return model_response
|
||||
return model_response
|
||||
|
||||
|
||||
class OVHCloudChatCompletionStreamingHandler(BaseModelResponseIterator):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue