
    j_                     >    d Z ddlmZ ddlmZ dededeeef   fdZy)	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                     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   prompt_costcompletion_costs       ~/Users/manta/Documents/Projects/TheRoad-I1/backend/.venv/lib/python3.12/site-packages/litellm/llms/lemonade/cost_calculator.pycost_per_tokenr      s    ( KO''    N)__doc__typingr   litellm.types.utilsr   strfloatr   r	   r   r   <module>r      s:     %((( 5%<(r   