Skip to content

feat: add base64 document attachment support to API chat endpoints#4672

Merged
timothycarambat merged 4 commits intoMintplex-Labs:masterfrom
nehaaprasad:feat/api-doc-attach
Nov 24, 2025
Merged

feat: add base64 document attachment support to API chat endpoints#4672
timothycarambat merged 4 commits intoMintplex-Labs:masterfrom
nehaaprasad:feat/api-doc-attach

Conversation

@nehaaprasad
Copy link
Copy Markdown
Contributor

@nehaaprasad nehaaprasad commented Nov 21, 2025

  • ✨ feat

Relevant Issues

resolves #4670 #4671

What is in this change?

Adds support for base64-encoded document attachments in API chat endpoints. Non-image attachments are now parsed and included in the chat context, allowing the LLM to read and respond based on document content. Image attachments continue to work as before.

Additional Information

Documents are processed via the Collector API and their content is added to the context before generating responses. Temporary files are cleaned up after processing.

@timothycarambat timothycarambat merged commit 3407095 into Mintplex-Labs:master Nov 24, 2025
1 check passed
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.

[BUG]: anything LLM 1.8.1-r2 The attachments attribute in the API named v1/workspace/{slug}/chat does not work

2 participants