mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-12-18 19:32:21 -06:00
fix: send pushName for openai assistant
This commit is contained in:
@@ -1244,6 +1244,7 @@ export class BaileysStartupService extends ChannelStartupService {
|
||||
await this.openaiService.sendOpenai(
|
||||
{ instanceName: this.instance.name, instanceId: this.instanceId },
|
||||
messageRaw.key.remoteJid,
|
||||
messageRaw.pushName,
|
||||
messageRaw,
|
||||
);
|
||||
}
|
||||
@@ -2057,6 +2058,7 @@ export class BaileysStartupService extends ChannelStartupService {
|
||||
await this.openaiService.sendOpenai(
|
||||
{ instanceName: this.instance.name, instanceId: this.instanceId },
|
||||
messageRaw.key.remoteJid,
|
||||
messageRaw.pushName,
|
||||
messageRaw,
|
||||
);
|
||||
}
|
||||
|
||||
@@ -513,6 +513,7 @@ export class BusinessStartupService extends ChannelStartupService {
|
||||
await this.openaiService.sendOpenai(
|
||||
{ instanceName: this.instance.name, instanceId: this.instanceId },
|
||||
messageRaw.key.remoteJid,
|
||||
pushName,
|
||||
messageRaw,
|
||||
);
|
||||
}
|
||||
@@ -961,6 +962,7 @@ export class BusinessStartupService extends ChannelStartupService {
|
||||
await this.openaiService.sendOpenai(
|
||||
{ instanceName: this.instance.name, instanceId: this.instanceId },
|
||||
messageRaw.key.remoteJid,
|
||||
messageRaw.pushName,
|
||||
messageRaw,
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user