mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-16 13:27:08 +00:00
fix: claude空@
This commit is contained in:
parent
375fad8a20
commit
c91791ad21
1 changed files with 4 additions and 2 deletions
|
|
@ -1790,9 +1790,11 @@ export class chatgpt extends plugin {
|
|||
if (Config.slackClaudeEnableGlobalPreset && (useCast?.slack || Config.slackClaudeGlobalPreset)) {
|
||||
// 先发送设定
|
||||
let prompt = (useCast?.slack || Config.slackClaudeGlobalPreset)
|
||||
let emotion = await AzureTTS.getEmotionPrompt(e)
|
||||
if (emotion) {
|
||||
prompt = prompt + '\n' + emotion
|
||||
}
|
||||
await client.sendMessage(prompt, e)
|
||||
// 处理可能由情绪参数导致的设定超限问题
|
||||
await client.sendMessage(await AzureTTS.getEmotionPrompt(e), e)
|
||||
logger.info('claudeFirst:', prompt)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue