Skip to content

fix: move generateAssistant request log statement #1379

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

Merged
merged 1 commit into from
May 20, 2025

Conversation

tsmithsz
Copy link
Contributor

@tsmithsz tsmithsz commented May 20, 2025

Problem

In this change we now retrieve the history after truncating the request. This causes the request to be logged without the history included. This will make debugging difficult

Solution

Move generateAssistant request log statement to after we have retrieved the history

License

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

@tsmithsz tsmithsz requested a review from a team as a code owner May 20, 2025 00:06
@tsmithsz tsmithsz enabled auto-merge (squash) May 20, 2025 00:08
@tsmithsz tsmithsz merged commit e258409 into aws:main May 20, 2025
6 checks passed
wweitao pushed a commit to LiGaCu/language-servers that referenced this pull request May 22, 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.

2 participants