Update __init__.py

Expose calculate_cost_by_tokens
This commit is contained in:
henrikhargedahl
2024-06-17 08:19:01 +02:00
committed by GitHub
parent e7a61526fc
commit 7dd4170950

View File

@@ -4,5 +4,6 @@ from .costs import (
calculate_completion_cost,
calculate_prompt_cost,
calculate_all_costs_and_tokens,
calculate_cost_by_tokens
)
from .constants import TOKEN_COSTS_STATIC, TOKEN_COSTS, update_token_costs