Add all /key/generate api params to UI + add metadata fields on team AND org add/update (#8667)

* feat(create_key_button.tsx): initial commit using openapi.json to ensure all values via api are supported on ui for `/key/generate`

Closes https://github.com/BerriAI/litellm/issues/7763

* style(create_key_button.tsx): put openapi settings inside 'advanced setting' accordion

* fix(check_openapi_schema.tsx): style improvements for advanced settings

* style(create_key_button.tsx): add tooltip explaining what the settings mean

* fix(team_info.tsx): render metadata field on team update

allow updating a team's metadata

* fix(networking.tsx): add 'metadata' field to create team form

* refactor: cleanup dead codeblock

* fix(organization_endpoints.py): fix metadata param support on `/organization/new`

* feat(organization_endpoints.py): support updating metadata for organization on api + ui

* test: mark flaky test
This commit is contained in:
Krish Dholakia 2025-02-19 21:13:06 -08:00 committed by GitHub
parent 40d1576292
commit cc77138b37
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 392 additions and 209 deletions

View file

@ -410,6 +410,7 @@ async def test_success_call_hook():
)
@pytest.mark.flaky(retries=6, delay=1)
@pytest.mark.asyncio
async def test_failure_call_hook():
"""