Skip to content

Same agent Smaller bill. The tools and infrastructure to get more work from your AI. Fewer tokens. Less compute. Lower cost.

[Fix] fix order of arguments (#877)

danilbogdan3122e0843909
diff --git a/sdk/python/pyproject.toml b/sdk/python/pyproject.toml
index 2fecfe7d..17aec540 100644
--- a/sdk/python/pyproject.toml
+++ b/sdk/python/pyproject.toml
@@ -1,6 +1,6 @@
[tool.poetry]
name = "openlit"
-version = "1.35.1"
+version = "1.35.2"
description = "OpenTelemetry-native Auto instrumentation library for monitoring LLM Applications and GPUs, facilitating the integration of observability into your GenAI-driven projects"
authors = ["OpenLIT"]
license = "Apache-2.0"
diff --git a/sdk/python/src/openlit/__helpers.py b/sdk/python/src/openlit/__helpers.py
index b47911ac..e44d560d 100644
--- a/sdk/python/src/openlit/__helpers.py
+++ b/sdk/python/src/openlit/__helpers.py
@@ -449,9 +449,9 @@ def record_completion_metrics(
application_name,
start_time,
end_time,
- cost,
input_tokens,
output_tokens,
+ cost,
tbt,
ttft,
):