mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-07-04 10:52:17 +02:00
feat: allow multiple API keys (#186)
* feat: allow multiple API keys * chore: cleanup * chore: upgrade pipecat * feat: make default api_key as list
This commit is contained in:
parent
162bfabac3
commit
57e8768e0b
10 changed files with 174 additions and 137 deletions
|
|
@ -251,18 +251,18 @@ async def create_user_configuration_with_mps_key(
|
|||
configuration = {
|
||||
"llm": {
|
||||
"provider": ServiceProviders.DOGRAH.value,
|
||||
"api_key": service_key,
|
||||
"api_key": [service_key],
|
||||
"model": "default",
|
||||
},
|
||||
"tts": {
|
||||
"provider": ServiceProviders.DOGRAH.value,
|
||||
"api_key": service_key,
|
||||
"api_key": [service_key],
|
||||
"model": "default",
|
||||
"voice": "default",
|
||||
},
|
||||
"stt": {
|
||||
"provider": ServiceProviders.DOGRAH.value,
|
||||
"api_key": service_key,
|
||||
"api_key": [service_key],
|
||||
"model": "default",
|
||||
},
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue