Skip to content

[FEAT] Support for Open WebUI custom __event_emitter__ payloads (Citation & Status overrides) #464

@h4ck200711

Description

@h4ck200711

What would you like?

Environment

  • Device: iPhone 17 Pro Max
  • OS: iOS 26.4.2
  • App Version: 2.6.8

Description

I am using a custom Python tool in Open WebUI for web searches. To prevent the LLM from outputting ugly inline citations in the main text, my tool utilizes Open WebUI's __event_emitter__ to stream custom "type": "citation" and "type": "status" events.

On the native Open WebUI desktop frontend, this successfully renders a clean UI footer with favicons and source links, completely suppressing the inline bracket citations.

However, when executing the same tool via the Conduit iOS app, these custom emitter events seem to be dropped or ignored.

As a result:

  1. The footer citations and favicons do not render.
  2. Open WebUI's backend falls back to its default behavior, injecting raw tool names as inline citations (e.g., [neural_web_search/web_search]) directly into the text.
  3. Because this fallback pollutes the actual database history, the chat remains permanently formatted this way, even if I open it later on the desktop web app.

Expected Behavior

Conduit should parse and render Open WebUI's custom __event_emitter__ payloads for tools so the mobile experience matches the desktop UI.

Example Payload

Here is an example of the citation payload that Conduit is currently missing:

{
    "type": "citation",
    "data": {
        "document": [""],  // Empty string blinds the auto-matcher
        "metadata": [{"source": "[https://example.com](https://example.com)"}],
        "source": {"name": "Example Title"}
    }
}


Note: The tool status initially renders correctly during the live stream generation, but 'flips' to the broken inline-citation formatting after the generation completes and the app syncs the final message history.

### Why do you want this?

Any chance we could get support for these event emitters added to Conduit's chat rendering engine? Thanks for the great work on the app!

### Which platforms?

- [ ] Android
- [x] iOS

### Examples

_No response_

### How important is this to you?

Really need this

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions