litellm/tests/unit/integrations/lens
Kerry Lu f30ea8b087
fix(lens): send cost records to Lens without the conversation (#53274)
A cost record only needs the cost, tokens, key and ids of a request. It
also carried a copy of the request messages and the response, which the
trace already delivers, and that copy is what pushed a record past the
1 MiB export budget and got it dropped.

The record now never carries the messages or the response, so its size
no longer grows with the conversation.
2026-11-20 18:23:36 -08:00
..
fixtures feat(lens): send the calling agent's framework, task and session on gateway traces (#53186) 2026-11-20 21:31:02 +00:00
proxy feat(lens): send the signed in user's name in the Lens login token (#53213) 2026-11-20 23:23:44 +00:00
__init__.py feat(proxy): send gateway model calls to Lens as traces when the Lens store is connected (#53042) 2026-11-20 10:12:08 -08:00
test_config.py feat(proxy): send gateway model calls to Lens as traces when the Lens store is connected (#53042) 2026-11-20 10:12:08 -08:00
test_exporter.py fix(lens): send cost records to Lens without the conversation (#53274) 2026-11-20 18:23:36 -08:00
test_lens_trace_adapter.py fix(lens): name gateway Codex runs codex-cli so they join Codex's own traces in Lens (#53197) 2026-11-20 21:55:31 +00:00
test_otlp_http.py feat(proxy): send gateway model calls to Lens as traces when the Lens store is connected (#53042) 2026-11-20 10:12:08 -08:00
test_queries.py feat(proxy): send gateway model calls to Lens as traces when the Lens store is connected (#53042) 2026-11-20 10:12:08 -08:00
test_receiver.py feat(proxy): send gateway model calls to Lens as traces when the Lens store is connected (#53042) 2026-11-20 10:12:08 -08:00
test_remote.py feat(proxy): send gateway model calls to Lens as traces when the Lens store is connected (#53042) 2026-11-20 10:12:08 -08:00
test_storage.py feat(proxy): send gateway model calls to Lens as traces when the Lens store is connected (#53042) 2026-11-20 10:12:08 -08:00