Fix locale & enjoyai config & refactor filename (#279)
* max retries = 3 for enjoyai * refactor file name * update locale
This commit is contained in:
@@ -20,9 +20,9 @@
|
||||
"isTranscribed": "transcribed",
|
||||
"added": "Successfully added audio",
|
||||
"removed": "Successfully removed audio",
|
||||
"notFound": "Video not found",
|
||||
"notFound": "Audio not found",
|
||||
"fileTooLarge": "File too large {{ file }}",
|
||||
"failedToAdd": "Failed to add audio, {{ error }}",
|
||||
"failedToAdd": "Failed to add, {{ error }}",
|
||||
"fileNotFound": "File not found {{file}}",
|
||||
"fileNotSupported": "File not supported {{file}}",
|
||||
"failedToCopyFile": "Failed to copy file {{file}}",
|
||||
@@ -47,7 +47,7 @@
|
||||
"removed": "Successfully removed video",
|
||||
"notFound": "Video not found",
|
||||
"fileTooLarge": "File too large {{ file }}",
|
||||
"failedToAdd": "Failed to add video, {{ error }}",
|
||||
"failedToAdd": "Failed to add, {{ error }}",
|
||||
"fileNotFound": "File not found {{file}}",
|
||||
"fileNotSupported": "File not supported {{file}}",
|
||||
"failedToCopyFile": "Failed to copy file {{file}}",
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
"removed": "成功删除音频",
|
||||
"notFound": "未找到音频",
|
||||
"fileTooLarge": "文件太大了 {{ file }}",
|
||||
"failedToAdd": "添加音频失败, {{error}}",
|
||||
"failedToAdd": "添加失败, {{error}}",
|
||||
"fileNotFound": "无法访问文件 {{file}}",
|
||||
"fileNotSupported": "文件不支持 {{file}}",
|
||||
"failedToCopyFile": "无法复制文件 {{file}}",
|
||||
@@ -47,7 +47,7 @@
|
||||
"removed": "成功删除视频",
|
||||
"notFound": "未找到视频",
|
||||
"fileTooLarge": "文件太大了 {{ file }}",
|
||||
"failedToAdd": "添加视频失败, {{error}}",
|
||||
"failedToAdd": "添加失败, {{error}}",
|
||||
"fileNotFound": "无法访问文件 {{file}}",
|
||||
"fileNotSupported": "文件不支持 {{file}}",
|
||||
"failedToCopyFile": "无法复制文件 {{file}}",
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
export * from './useTranscode';
|
||||
export * from './useAiCommand';
|
||||
export * from './useConversation';
|
||||
export * from './use-transcode';
|
||||
export * from './use-ai-command';
|
||||
export * from './use-conversation';
|
||||
|
||||
@@ -36,6 +36,7 @@ export const useConversation = () => {
|
||||
configuration: {
|
||||
baseURL: `${apiUrl}/api/ai`,
|
||||
},
|
||||
maxRetries: 3,
|
||||
modelName: model,
|
||||
temperature,
|
||||
maxTokens,
|
||||
Reference in New Issue
Block a user