fix(basic.gblib): update ChatServices.ts #420

Closed
eltociear wants to merge 2540 commits from patch-1 into main
Showing only changes of commit b028c8e9aa - Show all commits

View file

@ -653,7 +653,7 @@ export class GBConversationalService {
let isMedia = text.toLowerCase().endsWith('.jpg') || text.toLowerCase().endsWith('.jpeg')
|| text.toLowerCase().endsWith('.png');
let image = isMedia ?
let image = !isMedia ?
/(.*)\n/gmi.exec(text)[0].trim() :
text;