@clawchatsai/connector 0.0.45 → 0.0.46
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/server.js +2 -1
package/package.json
CHANGED
package/server.js
CHANGED
|
@@ -4067,7 +4067,8 @@ export function createApp(config = {}) {
|
|
|
4067
4067
|
const now = Date.now();
|
|
4068
4068
|
|
|
4069
4069
|
// Check if the final assembled message content contains MEDIA: lines
|
|
4070
|
-
console.log('[ClawChats] saveAssistantMessage
|
|
4070
|
+
console.log('[ClawChats] saveAssistantMessage rawContent:', JSON.stringify(content.slice(0, 300)), 'rawMsgContent:', JSON.stringify(JSON.stringify(message?.content)?.slice(0, 300)));
|
|
4071
|
+
console.log('[ClawChats] saveAssistantMessage msgKeys:', Object.keys(message||{}), 'msgMediaUrls:', JSON.stringify(message?.mediaUrls), 'msgMediaUrl:', message?.mediaUrl);
|
|
4071
4072
|
|
|
4072
4073
|
// Extract MEDIA: paths from the final complete message content (if gateway preserves them here)
|
|
4073
4074
|
let attachments = null;
|