fix(basic.gblib): update ChatServices.ts #420
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue