-
Notifications
You must be signed in to change notification settings - Fork 251
feat(amazonq): client emits endChat when conversation ended #5572
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
Conversation
…Flare' into manodnyb/setupChatComponentsWithFlare
…Flare' into manodnyb/setupChatComponentsWithFlare
…p-endChat # Conflicts: # plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/webview/BrowserConnector.kt
…tions' into samgst/q-lsp-endChat # Conflicts: # plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/webview/BrowserConnector.kt # plugins/amazonq/shared/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/lsp/AmazonQLanguageServer.kt # plugins/amazonq/shared/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/lsp/model/aws/chat/FlareChatCommands.kt
Qodana Community for JVM3 new problems were found
💡 Qodana analysis was run in the pull request mode: only the changed files were checked Contact Qodana teamContact us at qodana-support@jetbrains.com
|
@@ -17,6 +17,7 @@ | |||
import kotlinx.coroutines.flow.launchIn | |||
import kotlinx.coroutines.flow.merge | |||
import kotlinx.coroutines.flow.onEach | |||
import kotlinx.coroutines.future.await |
Check warning
Code scanning / QDJVMC
Unused import directive Warning
|
||
fun getAwsServerCapabilities(): AwsServerCapabilities? = awsServerCapabilities | ||
|
||
fun setAwsServerCapabilities(awsServerCapabilities: AwsServerCapabilities?) { |
Check warning
Code scanning / QDJVMC
Unused symbol Warning
val tabId: String, | ||
) | ||
|
||
data class EndChatResult( |
Check warning
Code scanning / QDJVMC
Unused symbol Warning
Handles the endChat command
Types of changes
Description
Handle "aws/chat/endChat" by sending the server a request and removing the tab from the ChatPartialResultMap if present.
Implemented with changes from: #5561
EndChat is not currently hooked up on FLARE side, so this may need to change depending on how they implement it:
aws/language-servers#433
Checklist
License
I confirm that my contribution is made under the terms of the Apache 2.0 license.