traceloop / openllmetry

Open-source observability for your LLM application, based on OpenTelemetry
https://www.traceloop.com/openllmetry
Apache License 2.0
3.48k stars 680 forks source link

fix(openai): Add token count and system to assistants #2323

Closed dinmukhamedm closed 4 days ago

dinmukhamedm commented 4 days ago

Fixes #2318 by adding prompt and completion tokens to the assistant spans.

In addition: