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:
Abhishek 2026-03-10 15:17:40 +05:30 committed by GitHub
parent 162bfabac3
commit 57e8768e0b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 174 additions and 137 deletions

File diff suppressed because one or more lines are too long

View file

@ -202,10 +202,10 @@ export type CircuitBreakerConfigRequest = {
};
export type CircuitBreakerConfigResponse = {
enabled: boolean;
failure_threshold: number;
window_seconds: number;
min_calls_in_window: number;
enabled?: boolean;
failure_threshold?: number;
window_seconds?: number;
min_calls_in_window?: number;
};
/**
@ -1150,16 +1150,16 @@ export type UsageHistoryResponse = {
export type UserConfigurationRequestResponseSchema = {
llm?: {
[key: string]: string | number;
[key: string]: string | number | Array<string>;
} | null;
tts?: {
[key: string]: string | number;
[key: string]: string | number | Array<string>;
} | null;
stt?: {
[key: string]: string | number;
[key: string]: string | number | Array<string>;
} | null;
embeddings?: {
[key: string]: string | number;
[key: string]: string | number | Array<string>;
} | null;
test_phone_number?: string | null;
timezone?: string | null;
@ -1599,35 +1599,6 @@ export type HandleCloudonixStatusCallbackApiV1TelephonyCloudonixStatusCallbackWo
200: unknown;
};
export type HandleCloudonixAmdCallbackApiV1TelephonyCloudonixAmdCallbackWorkflowRunIdPostData = {
body?: never;
path: {
workflow_run_id: number;
};
query?: never;
url: '/api/v1/telephony/cloudonix/amd-callback/{workflow_run_id}';
};
export type HandleCloudonixAmdCallbackApiV1TelephonyCloudonixAmdCallbackWorkflowRunIdPostErrors = {
/**
* Not found
*/
404: unknown;
/**
* Validation Error
*/
422: HttpValidationError;
};
export type HandleCloudonixAmdCallbackApiV1TelephonyCloudonixAmdCallbackWorkflowRunIdPostError = HandleCloudonixAmdCallbackApiV1TelephonyCloudonixAmdCallbackWorkflowRunIdPostErrors[keyof HandleCloudonixAmdCallbackApiV1TelephonyCloudonixAmdCallbackWorkflowRunIdPostErrors];
export type HandleCloudonixAmdCallbackApiV1TelephonyCloudonixAmdCallbackWorkflowRunIdPostResponses = {
/**
* Successful Response
*/
200: unknown;
};
export type HandleVobizHangupCallbackByWorkflowApiV1TelephonyVobizHangupCallbackWorkflowWorkflowIdPostData = {
body?: never;
headers?: {