fix: tone action param (#6824)

This commit is contained in:
pengx17 committed 2024-05-07 12:42:35 +00:00
1 parent 0912fe113f
commit e85548b393
1 file changed
+1 -1
@@ -82,7 +82,7 @@ export function setupAIProvider() {
return textToText({ return textToText({
...options, ...options,
params: { params: {
tone: options.tone, tone: options.tone.toLowerCase(),
}, },
content: options.input, content: options.input,
promptName: 'Change tone to', promptName: 'Change tone to',