mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-17 05:47:11 +00:00
fix: end text
This commit is contained in:
parent
70044eb6c0
commit
94c35fa2f1
1 changed files with 3 additions and 1 deletions
|
|
@ -239,7 +239,9 @@ export class chatgpt extends plugin {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (userSetting.usePicture) {
|
if (userSetting.usePicture) {
|
||||||
while (!response.trimEnd().endsWith('.') && !response.trimEnd().endsWith('。') && !response.trimEnd().endsWith('……')) {
|
while (!response.trimEnd().endsWith('.') && !response.trimEnd().endsWith('。') && !response.trimEnd().endsWith('……') &&
|
||||||
|
!response.trimEnd().endsWith('!') && !response.trimEnd().endsWith('!') && !response.trimEnd().endsWith(']') && !response.trimEnd().endsWith('】')
|
||||||
|
) {
|
||||||
await this.reply('内容有点多,我正在奋笔疾书,请再等一会', true, 5)
|
await this.reply('内容有点多,我正在奋笔疾书,请再等一会', true, 5)
|
||||||
const responseAppend = await c.sendMessage('Continue')
|
const responseAppend = await c.sendMessage('Continue')
|
||||||
// 检索是否有屏蔽词
|
// 检索是否有屏蔽词
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue