Skip to content

[Bug]: LibreChat user ID is not included in the body parameters when using agents. #6341

Description

@marekpukaj

What happened?

The LibreChat user ID should be sent as the default user parameter. However, when using an agent, this parameter is not sent.

Version Information

git rev-parse HEAD
34f967e

Steps to Reproduce

  1. Configure any endpoint, such as Azure OpenAI.
    2.Create a custom agent in Agent Builder with any tools.
  2. Set a breakpoint at https://github.com/danny-avila/LibreChat/blob/main/api/server/controllers/agents/run.js#L47
  3. Using the newly created agent, send a test message and inspect the llmConfig object in the debugger.
  4. You should observe that the llmConfig object does not contain the user attribute.

What browsers are you seeing the problem on?

No response

Relevant log output

Screenshots

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐛 bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions