litellm/tests/unit/integrations/lens
tin-berri e019a797b3
feat(lens): provision a model key for embedded Lens (#53900)
* feat(lens): provision a model key for embedded Lens

* fix(lens): keep revoked model keys retired

* fix(lens): grant access to future gateway models

* test(lens): validate model access at the typed boundary

* fix(lens): serialize gateway key setup and preserve operator policy

* fix(lens): keep setup transactions short for small pools

* refactor(lens): type the setup key persistence boundary

* fix(lens): clean up concurrent setup and satisfy lint gates

* Make Lens model gateway setup safe to retry

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

* fix(lens): name the model key lookup span

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-23 18:18:53 -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): provision a model key for embedded Lens (#53900) 2026-11-23 18:18:53 -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(lens): add key and team tracing controls (#53191) 2026-11-23 17:59:37 +00:00
test_exporter.py feat(lens): add key and team tracing controls (#53191) 2026-11-23 17:59:37 +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_policy.py feat(lens): add key and team tracing controls (#53191) 2026-11-23 17:59:37 +00: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(lens): add key and team tracing controls (#53191) 2026-11-23 17:59:37 +00: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