mirror of
https://github.com/RYDE-WORK/Langchain-Chatchat.git
synced 2026-01-30 10:43:24 +08:00
* feat:提交前端代码 * feat:提交logo样式切换 * feat:替换avatar、部分位置icon、chatchat相关说明、git链接、Wiki链接、关于、设置、反馈与建议等功能,关闭lobehub自检更新功能 * fix:移除多余代码 --------- Co-authored-by: liunux4odoo <41217877+liunux4odoo@users.noreply.github.com>
34 lines
756 B
TypeScript
34 lines
756 B
TypeScript
export const LOBE_CHAT_AUTH_HEADER = 'X-lobe-chat-auth';
|
|
|
|
export const OAUTH_AUTHORIZED = 'X-oauth-authorized';
|
|
|
|
export const JWT_SECRET_KEY = 'LobeHub · LobeChat';
|
|
export const NON_HTTP_PREFIX = 'http_nosafe';
|
|
|
|
/* eslint-disable typescript-sort-keys/interface */
|
|
export interface JWTPayload {
|
|
/**
|
|
* 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
|
|
*/
|
|
endpoint?: string;
|
|
|
|
azureApiVersion?: string;
|
|
useAzure?: boolean;
|
|
|
|
awsAccessKeyId?: string;
|
|
awsRegion?: string;
|
|
awsSecretAccessKey?: string;
|
|
}
|
|
/* eslint-enable */
|