Skip to content

Commit b317925

Browse files
committed
update pricing model to work with azure models
1 parent 5256d7d commit b317925

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/agentlab/llm/chat_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ def __init__(
433433
min_retry_wait_time=min_retry_wait_time,
434434
client_class=OpenAI,
435435
client_args=client_args,
436-
pricing_func=tracking.get_pricing_openai,
436+
pricing_func=partial(tracking.get_pricing_litellm, model_name=model_name),
437437
log_probs=log_probs,
438438
)
439439

0 commit comments

Comments
 (0)