Skip to content

Conversation

@Will-ShaoHua
Copy link
Contributor

@Will-ShaoHua Will-ShaoHua commented Oct 28, 2024

Problem

We found there were lots of cases where open tabs context sent from the plugins with total length > 10240 chars long, which will result in validationException error while users trigger inline completion service.

Solution

Limit maximum length of supplemental context added in the result set and meanwhile Q team is conducting investigation to root cause it.


License: I confirm that my contribution is made under the terms of the Apache 2.0 license.

@Will-ShaoHua Will-ShaoHua requested a review from a team as a code owner October 28, 2024 21:08
@Will-ShaoHua Will-ShaoHua changed the title limit maximum size of supplementalContext being sent fix(amazonq): limit maximum size of supplementalContext being sent Oct 28, 2024
@github-actions
Copy link

This pull request modifies code in src/ but no tests were added/updated. Confirm whether tests should be added or ensure the PR description explains why tests are not required.

@github-actions
Copy link

This pull request implements a feature or fix, so it must include a changelog entry. See CONTRIBUTING.md#changelog for instructions.

@Will-ShaoHua Will-ShaoHua requested a review from a team as a code owner October 28, 2024 21:13
@Will-ShaoHua Will-ShaoHua requested a review from hayemaxi October 28, 2024 21:42
@hayemaxi hayemaxi merged commit e14e285 into aws:master Oct 28, 2024
19 of 20 checks passed
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.

3 participants