@rubytech/create-realagent 1.0.610 → 1.0.611
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/payload/server/server.js +1 -1
package/package.json
CHANGED
package/payload/server/server.js
CHANGED
|
@@ -32013,7 +32013,7 @@ init({
|
|
|
32013
32013
|
}
|
|
32014
32014
|
agentName = publicAgentSlug;
|
|
32015
32015
|
}
|
|
32016
|
-
let enrichedText = msg.text
|
|
32016
|
+
let enrichedText = msg.text || msg.mediaPath || msg.mediaType || msg.replyContext ? buildEnrichedText2(msg.text ?? "") : "";
|
|
32017
32017
|
if (msg.sessionKey) {
|
|
32018
32018
|
const platformAccountId = bootAccount?.accountId ?? msg.accountId;
|
|
32019
32019
|
registerSession(msg.sessionKey, msg.agentType, platformAccountId, agentName);
|