mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-27 09:30:40 +00:00
fix: resolve #12770 - update Antigravity default model and trim leading whitespace in BlueBubbles replies
This commit is contained in:
committed by
Peter Steinberger
parent
0af795287a
commit
e179d453c7
@@ -322,7 +322,7 @@ export async function sendMessageBlueBubbles(
|
||||
text: string,
|
||||
opts: BlueBubblesSendOpts = {},
|
||||
): Promise<BlueBubblesSendResult> {
|
||||
const trimmedText = text ?? "";
|
||||
const trimmedText = (text ?? "").trimStart();
|
||||
if (!trimmedText.trim()) {
|
||||
throw new Error("BlueBubbles send requires text");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user