o
    Æ°i_  ã                   @   s>   d Z ddlmZ ddlmZ dededeeef fdd„Zd	S )
zÙ
Cost calculation for Lemonade LLM provider.

Since Lemonade is a local/self-hosted service, all costs default to 0.
This prevents cost calculation errors when using models not in model_prices_and_context_window.json
é    )ÚTuple)ÚUsageÚmodelÚusageÚreturnc                 C   s   d}d}||fS )aL  
    Calculate cost per token for Lemonade models.
    
    Since Lemonade is a local/self-hosted deployment, there are no per-token costs.
    This function returns (0.0, 0.0) for all models to allow cost tracking to work
    without errors for any Lemonade model, regardless of whether it's in the
    model_prices_and_context_window.json file.
    
    Args:
        model: The model name (with or without "lemonade/" prefix)
        usage: Usage object containing token counts
        
    Returns:
        Tuple of (prompt_cost, completion_cost) - always (0.0, 0.0) for Lemonade
    g        © )r   r   Zprompt_costZcompletion_costr   r   ú\/home/app/Keep/.python/lib/python3.10/site-packages/litellm/llms/lemonade/cost_calculator.pyÚcost_per_token   s   r	   N)Ú__doc__Útypingr   Zlitellm.types.utilsr   ÚstrÚfloatr	   r   r   r   r   Ú<module>   s    ÿþ
ý