feat: support AI terms

This commit is contained in:
Gabe
2025-10-01 16:18:19 +08:00
parent 261bb7aa6f
commit 3c5ffc045f
8 changed files with 91 additions and 74 deletions

View File

@@ -217,6 +217,7 @@ export const apiTranslate = async ({
toLang,
apiSetting = DEFAULT_API_SETTING,
docInfo = {},
glossary = {},
useCache = true,
usePool = true,
}) => {
@@ -265,6 +266,7 @@ export const apiTranslate = async ({
toLang,
langMap,
docInfo,
glossary,
apiSetting,
usePool,
batchInterval,
@@ -285,6 +287,7 @@ export const apiTranslate = async ({
toLang,
langMap,
docInfo,
glossary,
apiSetting,
usePool,
});