mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-12 03:48:56 +00:00
* fix(terraform): stop sending blocked on litellm_user updates /user/update writes blocked into the user table upsert, but blocked only exists as a column on keys, so every litellm_user update failed with a 400 from Prisma. Updates no longer send it. Create sends it only when set to true, since /user/new applies it to the auto-created key blocked only applies at creation; litellm_key_block covers changes after that * fix(terraform): always send blocked on litellm_user create /user/new fills an omitted blocked from default_internal_user_params, so leaving it out on create let a proxy-side blocked=true default block the auto-created key. Create sends the configured value again, including false, while updates still never send it * chore(terraform): drop comment on litellm_user create blocked * fix(terraform): keep litellm_user blocked undeprecated Create sends blocked again, so it still controls the auto-created key. Whether to deprecate it in favor of litellm_key_block is left to the provider maintainers; the docs describe it as creation-only instead |
||
|---|---|---|
| .. | ||
| litellm | ||
| provider | ||