omi
omi copied to clipboard
[Bounty proposal] fix(screen-activity): harden user_id extraction, malformed summary guards, and query validation ($50 proposed)
Summary
Hardens screen_activity_tools.py in backend/utils/retrieval/tools/ against:
- Brittle
user_idvsuidextraction and missing top-level config support in_get_uid. - Unhandled
KeyErrorwhensummaryfrom Firestore is malformed or missing'apps'. - Strict whitespace handling in
app_filter. - Wasteful embedding and vector query execution on empty/whitespace search queries.
- String/non-integer values in
limit.
Paired Pull Request: #23203 Pull Request URL: https://github.com/BasedHardware/omi/pull/23203
Proposed Bounty: $50 USD
Payout Address (Base Mainnet USDC): 0xb95e2AD8E9D9e9BF902c7531577Cd0E1ceB203D4
Thanks for putting this together. We aren't doing bounties at the moment, so we're closing the bounty proposal issues for now — thanks for the fix! 🙏