litellm/litellm/harness
edvinsq 34d6cb39d2
refactor(typing): clear basedpyright Any errors across 35 files (#53599)
* refactor(typing): narrow Any-typed values in proxy, logging and router helpers

* refactor(typing): narrow Any in model sorting, harness deps and provider transforms

* refactor(typing): narrow Any in key info, streaming hooks and shared types

* fix(typing): keep proxy client SDK return shapes and stop cooldown tests reloading proxy_server

The SDK list, info and stream helpers return Mapping, Sequence and JsonValue shapes validated by pydantic instead of bare object. The cooldown test fixture no longer reloads litellm.proxy.proxy_server, which swapped the FastAPI app under test_proxy_server's dependency overrides when both files shared a worker.

* fix(typing): accept the single deployment object in proxy client model info

* refactor(typing): leave the code-owned spend log rows file unchanged

* refactor(typing): keep public types callers can pass and leave the proxy client SDK as main has it

---------

Co-authored-by: mateo-berri <277851410+mateo-berri@users.noreply.github.com>
2026-11-24 00:39:02 +00:00
..
evaluation feat(harness): compare custom agents with supported harnesses (#53381) 2026-11-21 21:08:36 +00:00
handlers refactor(typing): clear basedpyright Any errors across 35 files (#53599) 2026-11-24 00:39:02 +00:00
sandbox refactor(types): replace Unknown with proven types in 245 files (#53774) 2026-11-23 10:05:26 -08:00
__init__.py feat(harness): compare custom agents with supported harnesses (#53381) 2026-11-21 21:08:36 +00:00
context.py refactor(types): replace Unknown with proven types in 245 files (#53774) 2026-11-23 10:05:26 -08:00
endpoint.py refactor(types): replace Unknown with proven types in 245 files (#53774) 2026-11-23 10:05:26 -08:00
errors.py feat: add litellm.agent() to run claude code, codex, opencode and deep agents through the ai gateway (#43885) 2026-10-01 22:27:49 +00:00
options.py feat(harness): add pi harness for litellm.agent() (#45467) 2026-10-20 09:01:40 +00:00
runtime.py fix(harness)!: preserve unknown costs across agent sessions (#53455) 2026-11-21 22:34:36 +00:00
sync.py fix(harness)!: preserve unknown costs across agent sessions (#53455) 2026-11-21 22:34:36 +00:00
types.py fix(harness)!: preserve unknown costs across agent sessions (#53455) 2026-11-21 22:34:36 +00:00