mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-16 13:27:08 +00:00
fix: 添加基于LLM的翻译
This commit is contained in:
parent
e5e85621d9
commit
e1d40ba009
6 changed files with 341 additions and 215 deletions
|
|
@ -1942,7 +1942,8 @@ export class chatgpt extends plugin {
|
|||
let response = await client.sendMessage(prompt, {
|
||||
e,
|
||||
chatId: conversation?.conversationId,
|
||||
image: image ? image[0] : undefined
|
||||
image: image ? image[0] : undefined,
|
||||
system: Config.xhPrompt
|
||||
})
|
||||
return response
|
||||
} else if (use === 'azure') {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue