mirror of
https://github.com/BerriAI/litellm.git
synced 2026-12-05 01:59:27 +00:00
* Revert "feat(proxy): add per AI tool limits for teams and members (#55520)"
This reverts commit b5bdbff85f.
Co-Authored-By: Ishaan Jaffer <155045088+ishaan-berri@users.noreply.github.com>
# Conflicts:
# litellm/ui/litellm-dashboard/src/app/(dashboard)/usage/_components/usageUrlState.ts
* fix(proxy): preserve migration history and safe lockfile in AI budgets revert
Co-Authored-By: Ishaan Jaffer <155045088+ishaan-berri@users.noreply.github.com>
* fix(otel): keep span names for retained AI tool budget tables
Co-Authored-By: Ishaan Jaffer <155045088+ishaan-berri@users.noreply.github.com>
---------
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: Ishaan Jaffer <155045088+ishaan-berri@users.noreply.github.com>
10 lines
348 B
Python
10 lines
348 B
Python
"""Prisma test doubles with an empty gateway configuration table."""
|
|
|
|
from typing import Final
|
|
from unittest.mock import AsyncMock, MagicMock
|
|
|
|
|
|
def prisma_with_empty_config() -> MagicMock:
|
|
database: Final = MagicMock()
|
|
database.litellm_config.find_unique = AsyncMock(return_value=None)
|
|
return MagicMock(db=database, writer_db=database)
|