Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update notification title, should be omi - lowercase #1677

Merged
merged 1 commit into from
Jan 12, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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