Skip to content

fix(integrations): unify multimodal attachment materialization#247

Open
Abhijeet Prasad (AbhiPrasad) wants to merge 2 commits intomainfrom
abhi-refactor-integration-attachment-utils
Open

fix(integrations): unify multimodal attachment materialization#247
Abhijeet Prasad (AbhiPrasad) wants to merge 2 commits intomainfrom
abhi-refactor-integration-attachment-utils

Conversation

@AbhiPrasad
Copy link
Copy Markdown
Member

Built on top of #245

We're doing more multimodal stuff in the SDK (sending things as attachments), so I want to clean this up + fix inconsistencies in how we are sending data.

Consolidate provider tracing onto a shared attachment materialization helper so image, file, and binary payloads are logged consistently across integrations. This also fixes non-image multimodal parts to use file payloads instead of image_url shims where appropriate.

Preserve non-attachment values when materializing interaction payloads so provider-specific models, enums, and datetimes are not re-serialized during logging. Add focused regression coverage for the shared helper and affected providers.

@AbhiPrasad Abhijeet Prasad (AbhiPrasad) force-pushed the abhi-refactor-integration-attachment-utils branch from 25cd9b2 to 4f350b5 Compare April 10, 2026 00:33
Base automatically changed from abhi-feat-add-openai-images-tracing to main April 10, 2026 15:28
@AbhiPrasad Abhijeet Prasad (AbhiPrasad) force-pushed the abhi-refactor-integration-attachment-utils branch from be5b4c3 to b103b41 Compare April 10, 2026 15:51
Consolidate provider tracing onto a shared attachment materialization helper
so image, file, and binary payloads are logged consistently across
integrations. This also fixes non-image multimodal parts to use file payloads
instead of image_url shims where appropriate.

Preserve non-attachment values when materializing interaction payloads so
provider-specific models, enums, and datetimes are not re-serialized during
logging. Add focused regression coverage for the shared helper and affected
providers.
@AbhiPrasad Abhijeet Prasad (AbhiPrasad) force-pushed the abhi-refactor-integration-attachment-utils branch from b103b41 to 6991ed7 Compare April 10, 2026 22:07
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.

1 participant