- 
                Notifications
    You must be signed in to change notification settings 
- Fork 663
feat: Media HTTP fetching and b64 decoding #3967
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
| WalkthroughDependencies were added to support media fetching (reqwest, base64). The preprocessor's core functions were converted to async to enable multimodal media loading. New MediaLoader and EncodedMediaData types were introduced to handle media retrieval from URLs. All call sites were updated to use await syntax. Changes
 Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes 
 Poem
 Pre-merge checks❌ Failed checks (1 warning)
 ✅ Passed checks (2 passed)
 📜 Recent review detailsConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro ⛔ Files ignored due to path filters (1)
 📒 Files selected for processing (6)
 🧰 Additional context used🧠 Learnings (4)📚 Learning: 2025-06-24T20:59:35.725ZApplied to files: 
 📚 Learning: 2025-09-16T19:47:30.312ZApplied to files: 
 📚 Learning: 2025-08-18T20:51:51.324ZApplied to files: 
 📚 Learning: 2025-08-25T22:04:45.205ZApplied to files: 
 🧬 Code graph analysis (3)lib/llm/src/preprocessor/media/loader.rs (1)
 lib/llm/src/preprocessor/media/common.rs (1)
 lib/llm/src/preprocessor.rs (2)
 ⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (14)
 🔇 Additional comments (15)
 Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment  | 
Signed-off-by: Alexandre Milesi <[email protected]>
Signed-off-by: Alexandre Milesi <[email protected]>
Signed-off-by: Alexandre Milesi <[email protected]>
11fe8e2    to
    8a17e40      
    Compare
  
    
Overview:
See #3630 for context, this MR is a subset of it, focusing on HTTP fetch and b64 decode.
E2E plumbing will be done in a followup MR, the current behavior of URL passthrough stays the default.
Summary by CodeRabbit
New Features
Chores