We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40beced commit 6a9727eCopy full SHA for 6a9727e
src/main.js
@@ -23,7 +23,7 @@ function translate(query, completion) {
23
};
24
const body = {
25
model: $option.model,
26
- prompt: `translate to ${langMap.get(query.detectTo)}:${query.text}`,
+ prompt: `translate to ${query.detectTo}:${query.text}`,
27
temperature: 0,
28
max_tokens: 4000,
29
top_p: 1,
0 commit comments