Codewhisperer streaming client package used in Codewhisperer LSP is 2 months old and outdated.
Solution
Updated @amzn/codewhisperer-streaming package to latest version used in AWS Toolkit https://github.com/aws/aws-toolkit-vscode. Tested Chat functionality with sample VSCode extension.
Problem
Codewhisperer streaming client package used in Codewhisperer LSP is 2 months old and outdated.
Solution
@amzn/codewhisperer-streaming
package to latest version used in AWS Toolkit https://github.com/aws/aws-toolkit-vscode. Tested Chat functionality with sample VSCode extension.Reference.recommendationContentSpan
interface is not compatible with ChatReferenceTrackerInformation
class anymore:start
andend
fields are defined as optional now. I had to adjustedchatEventParser
to handle this change. Correctness needs to be checked.License
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.