Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: The langfuse trace_user_id in the virtual key is not effective. #9571

Open
langgg0511 opened this issue Mar 27, 2025 · 0 comments
Open
Labels
bug Something isn't working

Comments

@langgg0511
Copy link

What happened?

I have the trace_user_id information in the metadata of the virtual key, but after the request, langfuse does not have the user_id information.

key info

{
  "key": "sk-xxx",
  "info": {
    "key_name": "sk-...WOTg",
    "key_alias": "user-001",
    "soft_budget_cooldown": false,
    "spend": 0.00011085,
    "expires": "2025-04-24T02:17:26.359000+00:00",
    "models": [],
    "aliases": {},
    "config": {},
    "user_id": "bdf0e28b-97d5-4c95-866f-6f8e6f1675f9",
    "team_id": "office",
    "permissions": {},
    "max_parallel_requests": null,
    "metadata": {
      "tags": [
         "user-001"
      ],
      "cache": {
        "no-cache": true
      },
      "guardrails": [],
      "trace_user_id": "user-001",
    },
    "blocked": null,
    "tpm_limit": null,
    "rpm_limit": 20,
    "max_budget": null,
    "budget_duration": null,
    "budget_reset_at": null,
    "allowed_cache_controls": [],
    "model_spend": {},
    "model_max_budget": {},
    "budget_id": null,
    "organization_id": null,
    "created_at": "2025-02-24T10:17:36.397000+00:00",
    "created_by": null,
    "updated_at": "2025-03-27T04:24:09.487000+00:00",
    "updated_by": null,
    "litellm_budget_table": null,
    "litellm_organization_table": null
  }
}

Image

Relevant log output

Are you a ML Ops Team?

No

What LiteLLM version are you on ?

v1.63.14

Twitter / LinkedIn details

No response

@langgg0511 langgg0511 added the bug Something isn't working label Mar 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant