mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-17 22:07:10 +00:00
fix: 添加基于LLM的翻译
This commit is contained in:
parent
e5e85621d9
commit
e1d40ba009
6 changed files with 341 additions and 215 deletions
|
|
@ -395,7 +395,7 @@ export default class XinghuoClient {
|
|||
logger.warn('星火设定序列化失败,本次对话不附带设定')
|
||||
}
|
||||
} else {
|
||||
Prompt = Config.xhPrompt ? [{ role: 'system', content: Config.xhPrompt }] : []
|
||||
Prompt = option.system ? [{ role: 'system', content: option.system }] : []
|
||||
}
|
||||
if (Config.xhPromptEval) {
|
||||
Prompt.forEach(obj => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue