You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(opentrons-ai-client, opentrons-ai-server): content field (#19080)
# Overview
Closes AUTH-2159
This PR addresses the handling of file attachments in the multipart
upload flow by restructuring how files are managed between the frontend
and backend. The primary focus is fixing the `content` field for file
attachments.
This field is essential for maintaining chat history, enabling users to
reference files across multi-turn conversations. Currently, the chat
system can only process files on a per-message basis. While users can
attach a file and ask a question about it in a single message, the
system loses context in subsequent turns. This happens because the
frontend only sends files attached to the current message, rather than
maintaining file references throughout the conversation history.
File attachments persist across the entire conversation, allowing for
more natural multi-turn interactions with uploaded files.
## Test Plan and Hands on Testing
CI
## Review requests
Multi-turn conversations with files: Upload pdf, csv, or python then ask
questions.
## Risk assessment
Mid
0 commit comments