fix(gateway/bluebubbles): align iMessage delivery with non-editable UX

This commit is contained in:
Benjamin Sehl 2026-04-22 09:25:10 -04:00 committed by Teknium
parent 00c3d848d8
commit ffae5f7dc0
No known key found for this signature in database
5 changed files with 110 additions and 3 deletions

View file

@ -285,6 +285,18 @@ def build_session_context_prompt(
"Do not promise to perform these actions. If the user asks, explain "
"that you can only read messages sent directly to you and respond."
)
elif context.source.platform == Platform.BLUEBUBBLES:
lines.append("")
lines.append(
"**Platform notes:** You are responding via iMessage. "
"Keep responses short and conversational — think texts, not essays. "
"Structure longer replies as separate short thoughts, each separated "
"by a blank line (double newline). Each block between blank lines "
"will be delivered as its own iMessage bubble, so write accordingly: "
"one idea per bubble, 13 sentences each. "
"If the user needs a detailed answer, give the short version first "
"and offer to elaborate."
)
# Connected platforms
platforms_list = ["local (files on this machine)"]