Skip to content

Conversation

@hashemix
Copy link
Member

@hashemix hashemix commented Sep 19, 2025

📌 Summary

This PR introduces two new tools designed specifically for handling binary media (image/audio) files . These tools allow the system to process and return image and audio data in Base64 format, . Additionally, it supports concurrent reading of multiple media files, returning all results in a single result.

Both tools include an optional max_bytes attribute, which allows you to limit the maximum number of bytes read from each file.

🔍 Related Issues

✨ Changes Made

  • Added read_mdia_file tool for reading a single media file
  • Added read_multiple_media_files for efficient reading of multiple media files in a single request
  • Renamed read_file to read_text_file and read_multiple_files to read_multiple_text_files for improved clarity and consistency.

🛠️ Testing Steps

cargo make check

@hashemix hashemix merged commit 534d803 into main Sep 19, 2025
9 checks passed
@hashemix hashemix mentioned this pull request Sep 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants