o
    ưi                     @   sj   d dl mZmZmZ d dlmZ d dlmZ d dlm	Z	 d dl
mZ d dlmZ G dd deZe Zd	S )
    )ListOptionalTuple)verbose_logger)CustomPromptManagement)AllMessageValues)
PromptSpec)StandardCallbackDynamicParamsc                   @   s   e Zd Z					ddedee dedee dee ded	ee	 d
ee dee
 dee dee deeee ef fddZedefddZdS )X42PromptManagementNFmodelmessagesnon_default_params	prompt_idprompt_variablesdynamic_callback_paramsprompt_specprompt_labelprompt_versionignore_prompt_manager_model%ignore_prompt_manager_optional_paramsreturnc                 C   s&   t d| d| d|  |||fS )ax  
        Returns:
        - model: str - the model to use (can be pulled from prompt management tool)
        - messages: List[AllMessageValues] - the messages to use (can be pulled from prompt management tool)
        - non_default_params: dict - update with any optional params (e.g. temperature, max_tokens, etc.) to use (can be pulled from prompt management tool)
        z0in async get chat completion prompt. Prompt ID: z, Prompt Variables: z, Dynamic Callback Params: )r   debug)selfr   r   r   r   r   r   r   r   r   r   r    r   ]/home/app/Keep/.python/lib/python3.10/site-packages/litellm/proxy/custom_prompt_management.pyget_chat_completion_prompt   s   
z.X42PromptManagement.get_chat_completion_promptc                 C   s   dS )Nzx42-prompt-managementr   )r   r   r   r   integration_name%   s   z$X42PromptManagement.integration_name)NNNFF)__name__
__module____qualname__strr   r   dictr   r	   r   intboolr   r   propertyr   r   r   r   r   r
   
   sB    		

r
   N)typingr   r   r   Zlitellm._loggingr   Z-litellm.integrations.custom_prompt_managementr   Zlitellm.types.llms.openair   Z"litellm.types.prompts.init_promptsr   Zlitellm.types.utilsr	   r
   Zx42_prompt_managementr   r   r   r   <module>   s    
 