Skip to content

Commit

Permalink
Fix type issues
Browse files Browse the repository at this point in the history
  • Loading branch information
nicovank committed Mar 5, 2024
1 parent 9e3c34b commit f53f257
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/llm_utils/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def calculate_cost(
"""
# Latest pricing info from OpenAI (https://openai.com/pricing and
# https://platform.openai.com/docs/deprecations/), as of March 5, 2024.
PRICING_PER_MILLION = {
PRICING_PER_MILLION: Dict[str, Dict[str, float]] = {
# gpt-4-turbo.
"gpt-4-0125-preview": {"input": 10, "output": 30},
"gpt-4-turbo-preview": {"input": 10, "output": 30},
Expand Down

0 comments on commit f53f257

Please sign in to comment.