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

Instantiate a new chat client on every request #351

Merged
merged 1 commit into from
Jun 26, 2024

Conversation

makenneth
Copy link
Contributor

@makenneth makenneth commented Jun 26, 2024

Problem

This is likely a blocker. Token is getting reused in the same session, which means any reauth won't be propagated to the api calls. New tabs would always have the most up to date token.

client does not need to be destroyed as per the comments in the package

License

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@makenneth makenneth requested review from a team as code owners June 26, 2024 18:44
@makenneth makenneth merged commit a090744 into aws:main Jun 26, 2024
5 checks passed
@makenneth makenneth deleted the knnthma/new-client branch June 26, 2024 20:07
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.

2 participants