Skip to content

Commit

Permalink
Update notification title, should be omi - lowercase (#1677)
Browse files Browse the repository at this point in the history
  • Loading branch information
beastoin authored Jan 12, 2025
2 parents 28df179 + 51b4dfa commit 8d7c0de
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Binary file modified app/android/app/src/main/res/drawable/icon_white.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions backend/utils/chat.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def delete_file():

# send notification
token = notification_db.get_token_only(uid)
send_chat_message_notification(token, "Omi", "omi", ai_message.text)
send_chat_message_notification(token, "omi", "omi", ai_message.text)

return [message.dict(), ai_message_resp]

Expand Down Expand Up @@ -168,7 +168,7 @@ def process_message(response: str, callback_data: dict):

# send notification
token = notification_db.get_token_only(uid)
send_chat_message_notification(token, "Omi", "omi", ai_message.text, ai_message.id)
send_chat_message_notification(token, "omi", "omi", ai_message.text, ai_message.id)

return

Expand Down
4 changes: 2 additions & 2 deletions backend/utils/memories/process_memory.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ def send_new_facts_notification(token: str, facts: [FactDB]):
navigate_to="/facts",
)

send_notification(token, "Omi" + ' says', message, NotificationMessage.get_message_as_dict(ai_message))
send_notification(token, "omi" + ' says', message, NotificationMessage.get_message_as_dict(ai_message))


def _extract_trends(memory: Memory):
Expand Down Expand Up @@ -338,7 +338,7 @@ def process_user_expression_measurement_callback(provider: str, request_id: str,
print(f"Emotion Uid: {uid} {emotion}")

# Ask llms about notification content
title = "Omi"
title = "omi"
context_str, _ = retrieve_rag_memory_context(uid, memory)

response: str = obtain_emotional_message(uid, memory, context_str, emotion)
Expand Down
2 changes: 1 addition & 1 deletion backend/utils/other/notifications.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ async def _send_bulk_summary_notification(users: list):

async def send_daily_notification():
try:
morning_alert_title = "Don\'t forget to wear Omi today"
morning_alert_title = "omi says"
morning_alert_body = "Wear your omi and capture your memories today."
morning_target_time = "08:00"

Expand Down

0 comments on commit 8d7c0de

Please sign in to comment.