litellm/tests/unit/integrations/lens
Kerry Lu 88c5a29268
feat(lens): treat Lens's own calls as ordinary calls labeled lens-signals and remove x-lens-internal (#53163)
* feat(lens): recognize Lens's own calls by the lens-signals agent name instead of x-lens-internal

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* fix(lens): give a lens-signals call the message logging its key and admin configured

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* fix(lens): stop marking a lens-signals call's cost row Lens internal and drop the internal-call middleware

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* refactor(lens): stop writing the litellm_lens_internal flag on cost rows

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

---------

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-11-20 13:01:03 -08:00
..
proxy feat(lens): treat Lens's own calls as ordinary calls labeled lens-signals and remove x-lens-internal (#53163) 2026-11-20 13:01:03 -08: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 test(lens): isolate exporter Prometheus counters (#53172) 2026-11-20 20:42:57 +00:00
test_lens_trace_adapter.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_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