Skip to content

Commit b0c7ead

Browse files
committed
feat(amazonq): support listAvailableModels request
1 parent 771fae8 commit b0c7ead

File tree

3 files changed

+14
-10
lines changed

3 files changed

+14
-10
lines changed

package-lock.json

Lines changed: 10 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/amazonq/src/lsp/chat/messages.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ import {
6060
ruleClickRequestType,
6161
pinnedContextNotificationType,
6262
activeEditorChangedNotificationType,
63+
listAvailableModelsRequestType,
6364
} from '@aws/language-server-runtimes/protocol'
6465
import { v4 as uuidv4 } from 'uuid'
6566
import * as vscode from 'vscode'
@@ -351,6 +352,7 @@ export function registerMessageListeners(
351352
case listMcpServersRequestType.method:
352353
case mcpServerClickRequestType.method:
353354
case tabBarActionRequestType.method:
355+
case listAvailableModelsRequestType.method:
354356
await resolveChatResponse(message.command, message.params, languageClient, webview)
355357
break
356358
case followUpClickNotificationType.method:

packages/core/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -443,8 +443,8 @@
443443
"@aws-sdk/types": "^3.13.1",
444444
"@aws/chat-client": "^0.1.4",
445445
"@aws/chat-client-ui-types": "^0.1.24",
446-
"@aws/language-server-runtimes": "^0.2.97",
447-
"@aws/language-server-runtimes-types": "^0.1.39",
446+
"@aws/language-server-runtimes": "^0.2.102",
447+
"@aws/language-server-runtimes-types": "^0.1.43",
448448
"@cspotcode/source-map-support": "^0.8.1",
449449
"@sinonjs/fake-timers": "^10.0.2",
450450
"@types/adm-zip": "^0.4.34",

0 commit comments

Comments
 (0)