
    Cj=                     f    S r SSKJr  SSKJrJr   " S S\5      r " S S\5      r " S S	\5      rg
)z
Credential table models.

These are the canonical credential types for the proxy. They live in the model
layer; ``litellm.types.utils`` re-exports them for backwards compatibility.
    )Optional)	BaseModelmodel_validatorc                   *    \ rS rSr% \\S'   \\S'   Srg)CredentialBase   credential_namecredential_info N)__name__
__module____qualname____firstlineno__str__annotations__dict__static_attributes__r       l/home/rurouni/.local/share/pipx/venvs/strix-agent/lib/python3.13/site-packages/litellm/models/credentials.pyr   r      s    r   r   c                        \ rS rSr% \\S'   Srg)CredentialItem   credential_valuesr   N)r   r   r   r   r   r   r   r   r   r   r   r      s    r   r   c                   `    \ rS rSr% Sr\\   \S'   Sr\\	   \S'   \
" SS9\S 5       5       rSrg)	CreateCredentialItem   Nr   model_idbefore)modec                 t    UR                  S5      (       d!  UR                  S5      (       d  [        S5      eU$ )Nr   r   z0Either credential_values or model_id must be set)get
ValueError)clsvaluess     r   check_credential_params,CreateCredentialItem.check_credential_params   s3     zz-..vzz*7M7MOPPr   r   )r   r   r   r   r   r   r   r   r   r   r   classmethodr%   r   r   r   r   r   r      s>    (,x~,"Hhsm"(#  $r   r   N)	__doc__typingr   pydanticr   r   r   r   r   r   r   r   <module>r+      s6     /Y 
^ 	> 	r   