-
Notifications
You must be signed in to change notification settings - Fork 6.4k
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
Enable File Upload/Paste as Task in AGS #6091
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #6091 +/- ##
=======================================
Coverage 76.96% 76.96%
=======================================
Files 192 192
Lines 13438 13438
=======================================
Hits 10342 10342
Misses 3096 3096
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Thank you Victor! Let me make sure I understand the flow: in chat_input, user uploads a file (or multiple), it gets appended to FileList (upload supported on paste events and the upload button). I noticed the 5b file size limit, is this just for convenience or is there limits due to the webapp? once a user submits, we send the file alongside the task string to the websocket in start_stream, we take the files uploaded, and construct a task from them, which can be a MultiModal message if the uploaded file was an image. This is then uses for the run_stream method of the team, and the rest of the code is as usual. |
Yes, that is correct. |
You havent added the changes to runview, Now the task is saved as an object in RUN table. |
@KanikaChoudhary1312 , that is correct. |
Why are these changes needed?
imagetaskags.mp4
Enable file upload/paste as a task in AGS. Enables tasks like
Only text and images supported for now
Underneath, it constructs TextMessage and Multimodal messages as the task.
Related issue number
Closes #5773
Checks