aws / language-servers

AWS related Language Servers
Apache License 2.0
17 stars 15 forks source link

Make sure clear quick action doesn't get stuck loading #344

Closed ege0zcan closed 1 week ago

ege0zcan commented 1 week ago

Problem

/clear quick action caused a generating your answer chat item to be added that would not go away because the server would respond with an empty object causing the chat client to create an empty chat item. This would cause mynah to create a chat item that assumed it was going to be filled with data and therefore had the generating your answer string

Solution

chat client will not try to create a chat item if the server response is an empty object

License

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