mirror of
https://github.com/open-webui/docs.git
synced 2026-11-05 01:38:13 +00:00
[PR #1265] [MERGED] fix: add __metadata__ fields and __event_emitter__ custom types #1253
Labels
No labels
bug
documentation
documentation
duplicate
enhancement
enhancement
good first issue
good first issue
good first issue
help wanted
help wanted
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
open-webui/docs#1253
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/docs/pull/1265
Author: @Turrabo
Created: 5/25/2026
Status: ✅ Merged
Merged: 5/25/2026
Merged by: @Classic298
Base:
main← Head:fix/document-metadata-and-event-emitter-fields📝 Commits (1)
fca2145fix: add metadata fields and event_emitter custom types📊 Changes
1 file changed (+51 additions, -1 deletions)
View changed files
📝
docs/features/extensibility/plugin/development/reserved-args.mdx(+51 -1)📄 Description
Summary
user_prompt,system_prompt,sourcesto the__metadata__JSON example__metadata__explaining capture intent and recommended Pipe usage__event_emitter__to cover customtypeforwarding through socket.ioWhy
The current
__metadata__example is missing three fields that the backend populates. The__event_emitter__section doesn't mention that customtypestrings are forwarded to socket.io clients. Both of these things actually exist in OWUI today but aren't documented (and would've saved me a day of hacking).🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.