Skip to content

Add Headers to config_list #2422

Answered by easontsai
llmdbboss asked this question in Q&A
Apr 17, 2024 · 2 comments · 7 replies
Discussion options

You must be logged in to vote

It work for me

config_list = [
{
"model": "gpt-4",
"azure_deployment": "gpt-4",
"api_key": "fake",
"azure_ad_token": "Bearer ....",
"base_url": "endpoint....",
"api_type": "azure",
"api_version": "api version....",
"default_headers": {"Ocp-Apim-Subscription-Key": "secert.."},
}
]

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
5 replies
@llmdbboss
Comment options

@sonichi
Comment options

@llmdbboss
Comment options

@sonichi
Comment options

@llmdbboss
Comment options

Comment options

You must be logged in to vote
2 replies
@llmdbboss
Comment options

@Brutal15229
Comment options

Answer selected by llmdbboss
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants