[BUG] Instructor Instrumentator causing Pydantic ValidationErrors #5346
Labels
bug
Something isn't working
c/traces
instrumentation
openinference instrumentations to various open-source projects
Describe the bug
I'm having repeated validation errors when I'm attempting to use the InstructorInstrumentor (via LiteLLM talking to vLLM).
To Reproduce
Results in a Pydantic ValidationError:
For some reason, moving the
client = instructor.from_litellm(completion)
line above the telemetry setup gives a different warning:Expected behavior
The expected response is that the validation would work after the generation is finished.
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: