mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-05 02:41:56 +00:00
style(chatgpt): format realtime header configuration
This commit is contained in:
parent
4b85d94de4
commit
ef8d102af5
1 changed files with 4 additions and 1 deletions
|
|
@ -58,7 +58,10 @@ class ChatGPTRealtime(OpenAIRealtime):
|
|||
return api_base or Authenticator.get_api_base(default_base="https://api.openai.com/v1")
|
||||
|
||||
def __init__(
|
||||
self, params: GenericLiteLLMParams, headers: Mapping[str, str], extra_headers: Mapping[str, object] | None = None
|
||||
self,
|
||||
params: GenericLiteLLMParams,
|
||||
headers: Mapping[str, str],
|
||||
extra_headers: Mapping[str, object] | None = None,
|
||||
) -> None:
|
||||
super().__init__()
|
||||
self._profile_headers = realtime_headers(params, headers, extra_headers)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue