Skip to content

[Bug]: Job "update_spend" raised an exception #13204

@heiko-braun

Description

@heiko-braun

What happened?

Testing 1.74.12-nightly (litellm[proxy]==1.74.12)fails with an exception

Job "update_spend" raised an exception

It looks like this completely broke spend tracking?

Relevant log output

File "/home/litellm/venv/lib/python3.12/site-packages/prisma/engine/utils.py", line 175, in handle_response_errors
    raise exc(error)
prisma.errors.FieldNotFoundError: Could not find field at `createManyLiteLLM_SpendLogs.data.mcp_namespaced_tool_name`

What LiteLLM version are you on ?

v1.74.12-nightly

Observations

Apparently the DB migrations did run correctly:

  • LiteLLM_DailyUserSpend prisma def contain mcp_namespaced_tool_name
  • Database Table LiteLLM_DailyUserSpend contains the column as well

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions