diff --git a/litellm/integrations/mavvrik/__init__.py b/litellm/integrations/mavvrik/__init__.py index 4fdb858f70c..9ad0beaf217 100644 --- a/litellm/integrations/mavvrik/__init__.py +++ b/litellm/integrations/mavvrik/__init__.py @@ -62,7 +62,7 @@ def _schedule_job( ) uploader = Uploader(client=client) orchestrator = Orchestrator(client=client, uploader=uploader) - scheduler.add_job( # type: ignore[union-attr] + scheduler.add_job( # type: ignore[attr-defined] orchestrator.run, "interval", minutes=MAVVRIK_EXPORT_INTERVAL_MINUTES, @@ -411,7 +411,7 @@ class Service: total_cost = float(df["spend"].sum() or 0.0) if "spend" in df.columns else 0.0 total_tokens = ( - int((df["prompt_tokens"].sum() or 0) + (df["completion_tokens"].sum() or 0)) + int(df["prompt_tokens"].sum() or 0) + int(df["completion_tokens"].sum() or 0) if "prompt_tokens" in df.columns and "completion_tokens" in df.columns else 0 )