refactor: rename clawdbot to moltbot with legacy compat

This commit is contained in:
Peter Steinberger committed 2026-01-27 12:21:02 +00:00
1 parent 83460df96f
commit 6d16a658e5
1839 files changed
+11250 -11199

No files matched your search

+1 -1
View File
@@ -153,7 +153,7 @@ export async function uploadGoogleChatAttachment(params: {
contentType?: string;
}): Promise<{ attachmentUploadToken?: string }> {
const { account, space, filename, buffer, contentType } = params;
const boundary = `clawdbot-${crypto.randomUUID()}`;
const boundary = `moltbot-${crypto.randomUUID()}`;
const metadata = JSON.stringify({ filename });
const header = `--${boundary}\r\nContent-Type: application/json; charset=UTF-8\r\n\r\n${metadata}\r\n`;
const mediaHeader = `--${boundary}\r\nContent-Type: ${contentType ?? "application/octet-stream"}\r\n\r\n`;