🐛 Bug Report: LiteLLM tracing when not using openAI models not complete

Open
#3,167 8 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
python

Research direction

Start at the Traceloop SDK's LiteLLM instrumentation entry point and reproduce the issue with Python 3.11 using LiteLLM and an Anthropic model. Compare its trace with the OpenAI-model example; done means supported non-OpenAI models produce the expected complete tracing.

Written by the indexing model from the issue text.

Description

Which component is this bug for?

Traceloop SDK

📜 Description

When using the litellm with anthropic models, the proper/full tracing expected isn't showing up.

This is the information that I see

Image
👟 Reproduction steps

Use litellm with an anthropic model.

👍 Expected behavior

I should expect something similar to openai for openllmetry supported models through litellm, like openai

Image
👎 Actual Behavior with Screenshots

See screenshot above

🤖 Python Version

Python 3.11

📃 Provide any additional context for the Bug.

No response

👀 Have you spent some time to check if this bug has been raised before?
  • I checked and didn't find similar issue
Are you willing to submit PR?

None

Dominant language
Python
Stars
7.5k
Forks
1.2k
Avg merge
2d 6h
Merged PRs (30d)
2

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from traceloop/openllmetry

All issues in traceloop/openllmetry

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.