mirror of
https://github.com/BerriAI/litellm.git
synced 2026-08-28 05:25:59 +00:00
test(e2e): drop docstrings on the cost map model and its client accessor
This commit is contained in:
parent
55e3a9785c
commit
893482d4ac
2 changed files with 0 additions and 7 deletions
|
|
@ -710,10 +710,6 @@ class ModelInfoResponse(BaseModel):
|
|||
|
||||
|
||||
class CostMapEntry(BaseModel):
|
||||
"""One `/public/litellm_model_cost_map` row: the price and capability flags the
|
||||
proxy resolves for a `<provider>/<model>` key. Tests pick a deployment from
|
||||
these flags instead of hardcoding a model name that rots."""
|
||||
|
||||
model_config = ConfigDict(extra="ignore")
|
||||
litellm_provider: str | None = None
|
||||
mode: str | None = None
|
||||
|
|
|
|||
|
|
@ -254,9 +254,6 @@ class ProxyClient:
|
|||
).data
|
||||
|
||||
def model_cost_map(self) -> dict[str, CostMapEntry]:
|
||||
"""The registry the proxy prices with and gates capabilities on, keyed
|
||||
`<provider>/<model>`, read from the proxy itself so a test sees exactly the
|
||||
map the deployment under test resolves against."""
|
||||
return unwrap(
|
||||
self.transport.get(
|
||||
"/public/litellm_model_cost_map",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue