Skip to content

Using multiple router objects duplicates callbacks #12975

@gustavz

Description

@gustavz

When building an application that uses multiple litellm Router objects, then litellm global callbacks are duplicated and the list ever grows with each call until the max number of callbacks is reached (default = 30).

Does this mean it is not allowed to use mutliple Router objects? Is there a way to make it work correctly?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions