@lobehub/chat
Version:
Lobe Chat - an open-source, high-performance chatbot framework that supports speech synthesis, multimodal, and extensible Function Call plugin system. Supports one-click free deployment of your private ChatGPT/LLM web application.
48 lines (40 loc) • 936 B
text/typescript
/* eslint-disable typescript-sort-keys/interface */
export interface ClientSecretPayload {
/**
* password
*/
accessCode?: string;
/**
* Represents the user's API key
*
* If provider need multi keys like bedrock,
* this will be used as the checker whether to use frontend key
*/
apiKey?: string;
/**
* Represents the endpoint of provider
*/
baseURL?: string;
runtimeProvider?: string;
azureApiVersion?: string;
awsAccessKeyId?: string;
awsRegion?: string;
awsSecretAccessKey?: string;
awsSessionToken?: string;
cloudflareBaseURLOrAccountID?: string;
vertexAIRegion?: string;
/**
* ComfyUI specific authentication fields
*/
authType?: string;
username?: string;
password?: string;
customHeaders?: Record<string, string>;
/**
* user id
* in client db mode it's a uuid
* in server db mode it's a user id
*/
userId?: string;
}
/* eslint-enable */