openinference icon indicating copy to clipboard operation
openinference copied to clipboard

[BUG] Error when using llama-index-llms-anthropic from llama index

Open camyoung93 opened this issue 1 year ago • 3 comments

Describe the bug When using Llama instrumenter and calling BedrockConverse, all expected spans are picked up but when switching to llama-index-llms-anthropic then LLM spans go missing.

To Reproduce Steps to reproduce the behavior:

  1. Instrument a Llamaindex app that uses Claude via BedrockConverse
  2. Then switch to llama-index-llms-anthropic

Expected behavior LLM spans with Claude are received for either class.

Environment (please complete the following information): openinference-instrumentation-llama-index Version - 3.0.2

Additional context Add any other context about the problem here (e.x. a link to a colab)

camyoung93 avatar Oct 16 '24 00:10 camyoung93

Scheduling for next sprint

mikeldking avatar Oct 16 '24 00:10 mikeldking

removing from phoenix

mikeldking avatar Jun 09 '25 15:06 mikeldking

@camyoung93 can you provide more information on this? i.e. code snippets?

nate-mar avatar Oct 06 '25 21:10 nate-mar