litellm/tests/test_litellm/proxy/_experimental
mateo-berri 5215fbeeeb
fix(mcp): return 409 on BYOK/user-fields conflict; coerce Pydantic user_fields
- store_mcp_user_credential now catches the ValueError raised by
  store_user_credential when the (user, server) row already holds a
  user-fields payload, returning HTTP 409 instead of leaking a 500.
- coerce_user_fields now also accepts MCPUserField Pydantic instances
  (the shape used by LiteLLM_MCPServerTable.user_fields), so the
  management-layer annotation and enforcement paths no longer return
  silently empty when callers pass a parsed server record.
2026-05-19 07:20:39 +00:00
..
mcp_server fix(mcp): return 409 on BYOK/user-fields conflict; coerce Pydantic user_fields 2026-05-19 07:20:39 +00:00