Conversation
Collaborator
|
Member
Author
Already done haha, check the video, I'm calling them "snoozed" coz we kinda are snoozing those action items? And rn set the duration to 3 days, but imo we should allow users to define the duration |
Collaborator
|
ui lgtm |
romamo
reviewed
Oct 10, 2025
| # Fetch existing action items from past 2 days for deduplication | ||
| existing_action_items = None | ||
| try: | ||
| two_days_ago = datetime.datetime.now(datetime.timezone.utc) - datetime.timedelta(days=2) |
There was a problem hiding this comment.
Wrong import in this line causes: Error fetching existing action items for deduplication: type object 'datetime.datetime' has no attribute 'datetime'
Fix:
from datetime import datetime, timedelta, timezone
...
two_days_ago = datetime.now(timezone.utc) - timedelta(days=2)
Glucksberg
pushed a commit
to Glucksberg/omi-local
that referenced
this pull request
Apr 28, 2026
BasedHardware#3009 BasedHardware#3086 - [x] Use separate prompt for action items generation - [x] Schedule notifications for action items with due dates - [x] Improve action items user experience - [x] Parse due dates to local timezone - [x] Basic deduplication (skipping creation of an action item if almost same task exist in the last 2 days)  https://github.com/user-attachments/assets/7230050c-7600-4b6d-81ad-257cd9ca30ae
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
#3009 #3086
ScreenRecording_10-03-2025.00-17-19_1.MP4