data sync

This commit is contained in:
Gabe Yuan
2023-07-31 03:10:09 +08:00
parent 497084fe8a
commit 2aef159d9d
12 changed files with 14333 additions and 9971 deletions

View File

@@ -68,10 +68,10 @@ const apiMicrosoftTranslate = (text, to, from) => {
/**
* OpenAI 翻译
* @param {*} text
* @param {*} to
* @param {*} from
* @returns
* @param {*} text
* @param {*} to
* @param {*} from
* @returns
*/
const apiOpenaiTranslate = async (text, to, from) => {
const { openaiUrl, openaiModel, openaiPrompt } = await getSetting();