fix: change default fetchLimit
This commit is contained in:
@@ -499,7 +499,6 @@ const defaultApiOpts = {
|
|||||||
[OPT_TRANS_DEEPLX]: {
|
[OPT_TRANS_DEEPLX]: {
|
||||||
...defaultApi,
|
...defaultApi,
|
||||||
url: "http://localhost:1188/translate",
|
url: "http://localhost:1188/translate",
|
||||||
fetchLimit: 1,
|
|
||||||
},
|
},
|
||||||
[OPT_TRANS_NIUTRANS]: {
|
[OPT_TRANS_NIUTRANS]: {
|
||||||
...defaultApi,
|
...defaultApi,
|
||||||
@@ -512,7 +511,6 @@ const defaultApiOpts = {
|
|||||||
url: "https://api.openai.com/v1/chat/completions",
|
url: "https://api.openai.com/v1/chat/completions",
|
||||||
model: "gpt-4",
|
model: "gpt-4",
|
||||||
useBatchFetch: true,
|
useBatchFetch: true,
|
||||||
fetchLimit: 1,
|
|
||||||
},
|
},
|
||||||
[OPT_TRANS_GEMINI]: {
|
[OPT_TRANS_GEMINI]: {
|
||||||
...defaultApi,
|
...defaultApi,
|
||||||
|
|||||||
Reference in New Issue
Block a user