Multi-Model Context Merger¶
Filter v0.1.0
Automatically merges context from multiple model responses in the previous turn, enabling collaborative answers.
Overview¶
This filter detects when multiple models have responded in the previous turn (e.g., using "Arena" mode or multiple models selected). It consolidates these responses and injects them as context for the current turn, allowing the next model to see what others have said.
Features¶
- Auto-Merge: Consolidates responses from multiple models into a single context block.
- Structured Injection: Uses XML-like tags (
<response>) to separate different model outputs. - Collaboration: Enables models to build upon or critique each other's answers.
Installation¶
- Download the plugin file:
multi_model_context_merger.py - Upload to OpenWebUI: Admin Panel → Settings → Functions
- Enable the filter.
Usage¶
- Select multiple models in the chat (or use Arena mode).
- Ask a question. All models will respond.
- Ask a follow-up question.
- The filter will inject the previous responses from ALL models into the context of the current model(s).