litellm/tests/test_litellm/llms
ishaan-berri 414d3966bf
feat(teams): per-member model scope + team default_team_member_models (#24950)
* fix(bedrock): strip [1m]/[200k] context window suffixes before cost lookup

* test(bedrock): add test for [1m] context window suffix stripping in cost lookup

* schema: add allowed_models to BudgetTable, default_team_member_models to TeamTable

* migration: add allowed_models and default_team_member_models columns

* types: add allowed_models to TeamMemberAddRequest, TeamMemberUpdateRequest, UpdateTeamRequest

* utils: add allowed_models param to add_new_member, persist to budget table

* common_utils: add allowed_models to _upsert_budget_and_membership

* team endpoints: seed allowed_models on member_add, persist on member_update and team/update

* auth: enforce per-member allowed_models at request time

* networking: add allowed_models to Member type and teamMemberUpdateCall

* TeamMemberTab: add Model Scope column showing per-member allowed_models

* EditMembership: add Allowed Models multi-select field

* TeamInfo: add default_team_member_models field in Settings tab

* chore: sync schema.prisma copies from root

* fix(team_member_update): update existing budget in-place instead of creating new one

When a member already has a budget_id, patch only the fields the caller
provided rather than always creating a fresh budget record.  The old
code ignored existing_budget_id entirely, so updating only allowed_models
silently dropped the stored max_budget / tpm_limit / rpm_limit values.

* fix(auth): pass llm_router to _check_team_member_model_access

Without the router, _can_object_call_model cannot resolve wildcard model
names (e.g. openai/*) or access-group names in allowed_models, causing
legitimate requests to be denied.  Thread the existing llm_router from
_run_common_checks through to the new member-scope check.

* feat(ui): add Team Member Settings accordion to Create Team modal

Groups default_team_member_models, member budget/key duration, and
tpm/rpm defaults into a single collapsible section. The model picker
is filtered to only show the models selected for the team, and the
copy distinguishes it from the team-level Models field.

* feat(ui): consolidate Team Member Settings into accordion in edit team form

Moves default_team_member_models + per-member budget/key/tpm/rpm fields
into a collapsible "Team Member Settings" panel. Keeps the top-level
form focused on team-wide settings (team models, team budget, tpm/rpm).

* fix(ui): use tremor Accordion for Team Member Settings in edit team form

* fix(ui): move Team Member Settings accordion above budget fields in Create Team

* chore: fixes

---------

Co-authored-by: Ishaan Jaffer <ishaanjaffer0324@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Yuneng Jiang <yuneng@berri.ai>
2026-04-06 13:48:43 -07:00
..
amazon_nova/chat
anthropic fix: add explicit "summary" not in result guards to opt-out test paths 2026-03-21 14:53:25 -07:00
azure test: test 2026-03-28 19:17:38 -07:00
azure_ai test: test 2026-03-28 19:17:38 -07:00
base_llm [Fix] BaseModelResponseIterator crashes on non-string stream chunks 2026-03-12 16:16:32 -07:00
baseten/chat
bedrock feat(teams): per-member model scope + team default_team_member_models (#24950) 2026-04-06 13:48:43 -07:00
bedrock_mantle
black_forest_labs fix(tests): update BFL image generation tests for new signature 2026-03-13 00:20:52 +00:00
bytez/chat
chat Litellm fix update bedrock models (#24947) 2026-04-01 19:22:54 -07:00
chatgpt test(chatgpt): restore gpt-5.2 codex transformation coverage 2026-03-05 17:00:49 -05:00
cohere
cometapi/chat
compactifai
custom_httpx Root cause fix - migrate all logging update to use 1 function - for centralized kwarg updates (#23659) 2026-03-15 23:21:01 -07:00
dashscope
databricks
datarobot
deepgram
deepinfra
docker_model_runner
featherless_ai/chat
fireworks_ai Fix cicd fialing tests 2026-03-19 16:32:35 +05:30
gemini Merge pull request #24662 from Sameerlite/litellm_gemini-retrieve-file-url-normalize 2026-03-27 09:59:46 -07:00
github_copilot
heroku
hosted_vllm CircleCI test stability (#23055) 2026-03-07 15:19:39 -08:00
huggingface
jina_ai/embedding
lemonade
litellm_proxy/chat
llamafile/chat
lm_studio
manus
meta_llama
minimax
mistral Merge pull request #23818 from BerriAI/litellm_oss_staging_03_17_2026 2026-03-21 14:54:39 -07:00
moonshot fix(moonshot): preserve reasoning_content on Pydantic Message objects in multi-turn tool calls (#23828) 2026-03-21 00:09:17 +05:30
nebius
novita/chat
nscale/chat
oci Litellm ishaan march30 (#24887) (#25151) 2026-04-04 14:44:07 -07:00
ocr
ollama
openai test: test 2026-03-28 19:17:38 -07:00
openai_like merge: resolve conflicts between main and litellm_oss_staging_03_11_2026 2026-03-12 09:38:31 -03:00
openrouter fix(openrouter): strip LiteLLM prefix when proxy sets custom_llm_provider 2026-03-27 20:35:17 +05:30
ovhcloud
perplexity merge: resolve conflicts between main and litellm_oss_staging_03_11_2026 2026-03-12 09:38:31 -03:00
pg_vector/vector_stores
publicai
ragflow/chat
recraft
runwayml
s3_vectors
sagemaker feat: add sagemaker_nova provider for Amazon Nova models on SageMaker (#21542) 2026-03-14 15:10:01 -07:00
sambanova
sap
snowflake Merge main and resolve Snowflake test conflict 2026-03-30 18:06:37 -07:00
stability
vercel_ai_gateway
vertex_ai Merge remote-tracking branch 'origin/main' into litellm_dev_sameer_16_march_week 2026-03-21 15:11:29 -07:00
volcengine
voyage/rerank
wandb
watsonx Merge remote main and resolve conflicts 2026-03-09 15:34:50 -07:00
xai [Staging] - Ishaan March 17th (#23903) 2026-03-18 15:09:01 -07:00
zai
test_cache_control_and_reasoning.py
test_file_search_responses.py fix double-billing issue 2026-03-18 12:47:42 +05:30
test_lifecycle_fix.py
test_oom_fixes.py