Skip to content

[Feature]: Support for Configurable Langfuse Trace and Generation Parameters in Config.yaml #6756

@ZzzzRyan

Description

@ZzzzRyan

The Feature

Enable setting default values for langfuse's parameters such as trace_name and generation_name, for different models/providers within config.yaml

Motivation, pitch

I use the litellm proxy and langfuse to record multiple LLM providers' tokens and cost. As an LLM user utilizing third-party clients to call APIs through the litellm proxy, I have difficulty including parameters like trace_name and generation_name in each request.

It would be beneficial to allow these parameters to be configured directly in config.yaml for better logging and differentiation of provider usage and costs. Can be overridden by request parameters if provided by the user.

Twitter / LinkedIn details

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions