Langfuse: Add options to use the base_model_id for trace generation and enforce include_usage in stream_options #244

Open
opened 2026-02-15 19:17:19 -05:00 by yindo · 0 comments
Owner

Originally created by @calebhansard on GitHub (Jul 16, 2025).

Feature Request

Add two optional features to the Open WebUI filter pipeline for Langfuse:

  1. Option to use the base_model_id when generating traces in Langfuse
  2. Option to enforce the include_usage stream option for all models

Motivation

  • Enable Langfuse to associate costs with the base model rather than a custom model name that was created in Open WebUI.
  • Remove the requirement to check the Usage capability when adding new models to Open WebUI. Users wont always check that capability when creating their own model, and as an admin, I'd like to enforce usage tracking regardless of what users select.
Originally created by @calebhansard on GitHub (Jul 16, 2025). ## Feature Request Add two optional features to the Open WebUI filter pipeline for Langfuse: 1. Option to use the `base_model_id` when generating traces in Langfuse 2. Option to enforce the `include_usage` stream option for all models ## Motivation - Enable Langfuse to associate costs with the base model rather than a custom model name that was created in Open WebUI. - Remove the requirement to check the `Usage` capability when adding new models to Open WebUI. Users wont always check that capability when creating their own model, and as an admin, I'd like to enforce usage tracking regardless of what users select.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: open-webui/pipelines#244