Skip to content

Personal AI, On Personal Devices

Python

fix: improve SendBlue UX — queue tracking, periodic reminders, SMS formatting

Jon Saad-Falcond3c7c59c8dc2
diff --git a/src/openjarvis/agents/deep_research.py b/src/openjarvis/agents/deep_research.py
index 5f37bce1..da23ab8a 100644
--- a/src/openjarvis/agents/deep_research.py
+++ b/src/openjarvis/agents/deep_research.py
@@ -141,9 +141,10 @@ abbreviations, related terms.
- Research answers: cite as [source] title -- author. End with Sources.
- Casual answers: no citations needed.
- Concise unless detail is asked for.
-- Use plain text formatting that reads well in messaging apps. \
-Avoid LaTeX, raw HTML, or complex markdown. Use simple lists, \
-dashes, and line breaks instead of headers and tables when possible.
+- Format for text messages: use plain text, short paragraphs, and \
+simple bullet points (- item). Never use markdown headers (##), bold \
+(**), italic (*), code blocks, LaTeX ($), or tables. These don't \
+render in SMS/iMessage. Use line breaks and dashes for structure.
- If nothing found, say so honestly and suggest alternatives."""
diff --git a/src/openjarvis/server/webhook_routes.py b/src/openjarvis/server/webhook_routes.py
index 0e4f1951..0c3db1da 100644
--- a/src/openjarvis/server/webhook_routes.py
+++ b/src/openjarvis/server/webhook_routes.py
@@ -271,7 +271,6 @@ def create_webhook_router(
def _handle_and_reply() -> None:
import threading
- import time as _time
lock = _sendblue_queues["_lock"]