litellm/tests/unit/integrations/lens
Kerry Lu f626a9270f
feat(lens): forward agent spans to Lens and record gateway calls in the agent's trace (#53285)
* feat(lens): give a gateway trace of a coding agent one trace per typed message, like the agent's own

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

* fix(lens): keep suggestion requests and subagents inside the interaction they run in

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

* style(lens): format the trace adapter

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

* feat(lens): share a session's open interaction across gateway workers

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

* fix(lens): keep the strict lint counts level

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

* style(lens): sort imports

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

* fix(lens): bound what a worker remembers of an open interaction

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

* refactor(lens): reach the base logger and the shared cache without private access

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

* feat(lens): forward agent spans to Lens and place gateway calls in the agent's trace

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

* fix(lens): bound forwarded agent span uploads with the shared forwarding budget

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-21 18:47:03 +00: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): forward agent spans to Lens and record gateway calls in the agent's trace (#53285) 2026-11-21 18:47:03 +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 feat(lens): forward agent spans to Lens and record gateway calls in the agent's trace (#53285) 2026-11-21 18:47:03 +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