[BUG] Instructor Instrumentator causing Pydantic ValidationErrors #1192
Labels
bug
Something isn't working
instrumentation
Adding instrumentations to open source packages
language: python
Related to Python integration
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: