update
This commit is contained in:
@@ -14,7 +14,9 @@ export const jimengService = useContextKey('jimeng', new JimengService({
|
||||
baseUrl: config.JIMENG_API_URL,
|
||||
timeout: parseInt(config.JIMENG_TIMEOUT || '300000'),
|
||||
}));
|
||||
|
||||
export {
|
||||
getRedisConnection
|
||||
}
|
||||
export const ossService = useContextKey('oss', new OSSService({
|
||||
accessKeyId: config.S3_ACCESS_KEY_ID,
|
||||
accessKeySecret: config.S3_ACCESS_KEY_SECRET,
|
||||
@@ -32,4 +34,7 @@ export const app = useContextKey('app', new App());
|
||||
|
||||
export const ai = useContextKey('ai', new Kevisual({
|
||||
apiKey: config.KEVISUAL_NEW_API_KEY,
|
||||
}));
|
||||
model: 'qwen-turbo',
|
||||
}));
|
||||
|
||||
export const sleep = (ms: number) => new Promise(resolve => setTimeout(resolve, ms));
|
||||
Reference in New Issue
Block a user