10000 feat: add base64 document attachment support to API chat endpoints by naaa760 · Pull Request #4672 · Mintplex-Labs/anything-llm · GitHub
[go: up one dir, main page]

Skip to content

Conversation

@naaa760
Copy link
Contributor
@naaa760 naaa760 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.

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

1 participant

0