-
-
Notifications
You must be signed in to change notification settings - Fork 11.7k
litellm ryan march 31 #25119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
litellm ryan march 31 #25119
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
f626587
feat(teams): resolve access group models/MCPs/agents in team endpoints
ryan-crabbe-berri bbe708b
perf(teams): single-pass access group resolution + asyncio.gather in …
ryan-crabbe-berri 59b0910
docs: add default_team_params to config reference and update examples
ryan-crabbe-berri c19a63e
docs: clarify that models sub-field only applies to SSO auto-created …
ryan-crabbe-berri f0bd334
fix: lazy import get_access_object to break cyclic import + short-cir…
ryan-crabbe-berri 5a8f910
add: making organizations a select instead of read only badges
ryan-crabbe-berri 1bb726a
fix(ui): only send organization_id when changed and use raw initial v…
ryan-crabbe-berri cd7b262
fix(ui): add paginated team search to usage page filter
ryan-crabbe-berri 1533f68
fix(ui): fix imports and update placeholder for team multi select
ryan-crabbe-berri 96b660b
fix(ui): wire team_id filter to key alias dropdown on Virtual Keys tab
ryan-crabbe-berri 1521004
Merge pull request #25114 from BerriAI/litellm_fix-virtual-keys-team-…
ryan-crabbe-berri 0575c3f
Merge pull request #25107 from BerriAI/litellm_fix-team-id-search-filter
ryan-crabbe-berri 20077fe
Merge pull request #25095 from BerriAI/litellm_fix-ui-update-org-teams
ryan-crabbe-berri eb780a8
Merge pull request #25032 from BerriAI/litellm_docs-default-team-params
ryan-crabbe-berri 38f6c94
fix(tests): correct mock targets in TestResolveAccessGroupResources
ryan-crabbe-berri ea32cb5
fix: use direct attribute access with or [] fallback in _resolve_acce…
ryan-crabbe-berri 3bdd042
fix(ui): remove model source legend from team detail view
ryan-crabbe-berri bb03a11
fix(ui): add missing access_group fields to TeamData.team_info type
ryan-crabbe-berri 93369bf
perf(teams): batch-fetch access groups in single DB query
ryan-crabbe-berri 0331fb5
Merge pull request #25027 from BerriAI/litellm_add-access-group-to-model
ryan-crabbe-berri ce219fc
refactor(proxy): extract helpers to fix PLR0915 violations
ryan-crabbe-berri 866c4a2
test(ui): update tests to match new team_id / access-group signatures
ryan-crabbe-berri c495acd
fix(ui): send null (not '') for cleared organization_id on team update
ryan-crabbe-berri ad203dc
poetry
ryan-crabbe-berri ad81892
Merge remote-tracking branch 'origin/main' into litellm_ryan-march-31
ryan-crabbe-berri 76c0591
chore: regen poetry.lock for litellm-proxy-extras 0.4.64 bump
ryan-crabbe-berri File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
team_idfilterThe
team_idfilter is added using the existing raw-SQL pattern in this function. The comment at the top of the function explains why raw SQL is used here (Prisma doesn't support column-level SELECT projection onfind_many), and the value is correctly parameterized, so there is no injection risk. However, CLAUDE.md explicitly states: "Do not write raw SQL for proxy DB operations. Use Prisma model methods instead ofexecute_raw/query_raw." The existing code already violates this rule, but extending it amplifies the concern. If a Prisma-level approach is ever adopted (e.g. returning only thekey_aliascolumn), theteam_idfilter should migrate with it.