Can we add `Basic Auth` to custom llm endpoint?
# support
m
I am using a custom llm for my voice agent, would like to implement a basic auth to it. Does vapi support passing basic auth to custom llm endpoint
p
k
Yes, Vapi supports passing Basic Authentication to a custom LLM endpoint by configuring the LLM server to handle the Authorization. Basic header and updating the Vapi assistant model with the appropriate credentials in the headers..
m
Thank you @Pigeon
But, I see only the api key, and oauth right? @Kings_big💫 @Pigeon how can I pass the header values? i mean for basic auth
k
You can set the header and provide those values.
m
Sahil this header denotes the public vapi key for getting assistant details.
k
sorry i am not sure what you mean.