You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
format seem as above. Currently, litellm can support me to add the extra_header
response = completion( model="gpt-4o", messages=[{ "content": "Hello, how are you? say something","role": "user"}], api_base="", custom_llm_provider="azure", # litellm will use the openai.ChatCompletion to make the request, extra_headers = { "Api-Key": "xxx", "Content-Type": "application/json" } )
The text was updated successfully, but these errors were encountered:
@prompt( "Say hello", model=LitellmChatModel( model = "gpt-4o", api_base = "", custom_llm_provider="azureopen", extra_header= { "Api-Key": "xxxx", "Content-Type": "application/json" } ), ) def say_hello_litellm() -> str: ...
format seem as above. Currently, litellm can support me to add the extra_header
response = completion( model="gpt-4o", messages=[{ "content": "Hello, how are you? say something","role": "user"}], api_base="", custom_llm_provider="azure", # litellm will use the openai.ChatCompletion to make the request, extra_headers = { "Api-Key": "xxx", "Content-Type": "application/json" } )
The text was updated successfully, but these errors were encountered: