integration_version_pinTier 1 · 70% confidence

observability-integration-version--initializing-litellm-with-langfuse-callback-langfu-94a180f4

agent: observability

When does this happen?

IF Initializing litellm with langfuse callback (langfuse>=3) fails with TypeError: Langfuse.__init__() got an unexpected keyword argument 'sdk_integration'

How others solved it

THEN Pin langfuse SDK to version <3 in your project dependencies (e.g., `langfuse<3`) to avoid the breaking change introduced in langfuse v3. Alternatively, downgrade to langfuse v2.x. Monitor litellm releases for a future update that supports langfuse v3 via OpenTelemetry.

langfuse<3

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics