mirror of
https://github.com/Mintplex-Labs/anything-llm
synced 2026-04-30 19:37:27 +02:00
feat: add base64 document attachment support to API chat endpoints (#4672)
* feat: add base64 document attachment support to API chat endpoints * remove parsed documents from api chat process linting for simplicity fix logic issues with flow of data through the pipeline documentiation * change var scope --------- Co-authored-by: timothycarambat <rambat1010@gmail.com>
This commit is contained in:
@@ -493,6 +493,11 @@ function apiWorkspaceThreadEndpoints(app) {
|
||||
name: "image.png",
|
||||
mime: "image/png",
|
||||
contentString: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAA..."
|
||||
},
|
||||
{
|
||||
name: "this is a document.pdf",
|
||||
mime: "application/anythingllm-document",
|
||||
contentString: "data:application/pdf;base64,iVBORw0KGgoAAAANSUhEUgAA..."
|
||||
}
|
||||
],
|
||||
reset: false
|
||||
|
||||
Reference in New Issue
Block a user