feat(open-webui): full attachment menu with all source types
Replace the single attach popover with an Open WebUI-style multi-level
menu covering every attachment source:
- Upload Files: images stay inline (vision); other files are uploaded and
grounded via retrieval (`file-{id}` collection).
- Capture: take a photo from the webcam as an inline image.
- Attach Webpage: ingest a URL (existing).
- Attach Files: pick files already stored in Open WebUI.
- Attach Notes: inject the contents of a note as context.
- Attach Knowledge: nested picker with checkboxes, expandable to a base's
files (replaces the flat checkbox list).
- Reference Chats: bring a previous conversation in as context.
Knowledge bases, web pages and files are grounded by retrieval; notes and
referenced chats are injected verbatim as context blocks. Adds the
supporting integration methods (list files/notes, knowledge files, upload
file), request handlers and tRPC procedures.
This commit is contained in:
1 parent
800caf6e5e
commit
78bd66e803
8 files changed
+809
-124
No files matched your search
@@ -3565,13 +3565,24 @@
|
||||
"retry": "Retry",
|
||||
"visionWarning": "This model may not support images",
|
||||
"attach": "Attach",
|
||||
"uploadFiles": "Upload Files",
|
||||
"capture": "Capture",
|
||||
"attachImage": "Attach image",
|
||||
"attachKnowledge": "Knowledge",
|
||||
"noKnowledge": "No knowledge bases in Open WebUI",
|
||||
"attachWebpage": "Webpage",
|
||||
"attachFiles": "Files",
|
||||
"attachNotes": "Notes",
|
||||
"referenceChats": "Reference Chats",
|
||||
"noFiles": "No files in Open WebUI",
|
||||
"noNotes": "No notes in Open WebUI",
|
||||
"noChats": "No previous chats",
|
||||
"addUrl": "Add URL",
|
||||
"removeAttachment": "Remove attachment",
|
||||
"webError": "Could not load that web page",
|
||||
"uploadError": "Could not upload the file",
|
||||
"captureError": "Could not access the camera",
|
||||
"chatError": "Could not load that chat",
|
||||
"error": {
|
||||
"internalServerError": "Failed to reach Open WebUI"
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user