omi
omi copied to clipboard
[Bounty proposal] fix(gmail-tools): guard None/malformed payload parsing and clamp max_results ($50 proposed)
Summary
Hardens gmail_tools.py in backend/utils/retrieval/tools/ against:
- Unhandled
AttributeErroron messages withpayload: Noneor non-dict structures. - Unhandled
AttributeErrorwhen multipart parts havebody: None. - Corrupt base64 padding or invalid header format crashes.
- Unclamped or negative
max_resultsinget_gmail_messages.
Paired Pull Request: #23209 Pull Request URL: https://github.com/BasedHardware/omi/pull/23209
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! 🙏