omi
omi copied to clipboard
[Bounty proposal] fix(calendar-tools): harden user_id extraction, clamp max_results, and validate event title ($50 proposed)
Summary
Hardens `calendar_tools.py` and `integration_base.py` in `backend/utils/retrieval/tools/` against:
- Unhandled top-level `user_id` and `None` configurable mappings in `resolve_config_uid`.
- Negative or non-integer `max_results` limits bypassing upper bounds and triggering 400 Bad Request errors on Google Calendar APIs.
- Blank/whitespace-only event titles in `create_calendar_event_tool`.
Paired Pull Request: #23186 Pull Request URL: https://github.com/BasedHardware/omi/pull/23186
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! 🙏