-
Notifications
You must be signed in to change notification settings - Fork 252
feat(amazonq): Add model selection for agentic chat #5771
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
base: feature/q-lsp-chat
Are you sure you want to change the base?
Conversation
...s-community/src/software/aws/toolkits/jetbrains/services/amazonq/webview/BrowserConnector.kt
Fixed
Show fixed
Hide fixed
...ains-community/src/software/aws/toolkits/jetbrains/services/amazonq/lsp/AmazonQLspService.kt
Outdated
Show resolved
Hide resolved
…brains into model-selection
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: do we need this? if so, can we make it a little bit more descriptive
@@ -400,6 +401,17 @@ class AmazonQLanguageClientImpl(private val project: Project) : AmazonQLanguageC | |||
return CompletableFuture.completedFuture(Unit) | |||
} | |||
|
|||
override fun chatOptionsUpdate(params: LSPAny): CompletableFuture<Unit> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: should we call it sendChatOptionsUpdate
to be consistent with sendChatUpdate
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hold for release approval
@@ -394,6 +394,8 @@ private handleDocCommand(chatPrompt: ChatPrompt, tabID: string, taskName: string | |||
loadingChat: true, | |||
cancelButtonWhenLoading: false, | |||
}) | |||
} else { | |||
this.mynahUI?.updateStore(affectedTabId, { promptInputOptions: [] }) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why is this required?
@@ -21,6 +21,7 @@ const val CHAT_LINK_CLICK = "aws/chat/linkClick" | |||
const val CHAT_LIST_CONVERSATIONS = "aws/chat/listConversations" | |||
const val CHAT_OPEN_TAB = "aws/chat/openTab" | |||
const val CHAT_PROMPT_OPTION_ACKNOWLEDGED = "chatPromptOptionAcknowledged" | |||
const val CHAT_OPTIONS_UPDATE_NOTIFICATION = "aws/chat/chatOptionsUpdate" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: alphabetical order of commands
Types of changes
Description
Users should be able to select a specific bedrock model for agentic chat.
Adds a dropdown with 3 options: auto, sonnet 3.7 and sonnet 3.5, the selected value gets passed to the model request.
Flare changes: aws/language-servers#1294
Checklist
License
I confirm that my contribution is made under the terms of the Apache 2.0 license.