mirror of
https://github.com/open-webui/open-webui.git
synced 2026-08-30 17:25:30 -05:00
1. process_metadata (vector/utils.py):
- Lists/arrays now preserved as-is (Pinecone supports native arrays)
- Only datetime and dict types converted to strings
- Enables Pinecone queries like: filter: {labels: {$in: ['SENT']}}
- Fixed iteration bug (was modifying dict while iterating)
2. _sync_user_periodic (gmail_auto_sync.py):
- Now uses OAuth manager to get/refresh token before sync
- Prevents 'OAuth token expired' errors during attachment fetching
- Falls back to stored token if refresh fails