Skip to content

feat: Allow setting the userId if passed #6722

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

zrosenbauer
Copy link

@zrosenbauer zrosenbauer commented Jun 11, 2025

Background

I'm able to combine the work in #6721 to auto set the user by calling an async function in the model middleware. This is used in conjunction with @VoltAgent framework.

Summary

Allow the providerMetadata.openai.user to set the userId if passed

Verification

Tasks

  • Tests have been added / updated (for bug fixes / features)
  • Documentation has been added / updated (for bug fixes / features)
  • A patch changeset for relevant packages has been added (for bug fixes / features - run pnpm changeset in the project root)
  • Formatting issues have been fixed (run pnpm prettier-fix in the project root)

Future Work

Related Issues

@zrosenbauer zrosenbauer changed the title feat: Allow the to set the userId if passed feat: Allow setting the userId if passed Jun 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant