File tree Expand file tree Collapse file tree 3 files changed +5
-7
lines changed
server/aws-lsp-codewhisperer/src/language-server/agenticChat Expand file tree Collapse file tree 3 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -427,14 +427,14 @@ describe('MynahUI', () => {
427427
428428 const newValues = {
429429 'pair-programmer-mode' : 'true' ,
430- 'model-selection' : BedrockModel . CLAUDE_3_5_SONNET_20241022_V2_0 ,
430+ 'model-selection' : BedrockModel . CLAUDE_3_7_SONNET_20250219_V1_0 ,
431431 }
432432
433433 handlePromptInputChange ( mynahUi , tabId , newValues )
434434
435435 const expectedOptions = [
436436 { id : 'pair-programmer-mode' , value : 'true' } ,
437- { id : 'model-selection' , value : BedrockModel . CLAUDE_3_5_SONNET_20241022_V2_0 } ,
437+ { id : 'model-selection' , value : BedrockModel . CLAUDE_3_7_SONNET_20250219_V1_0 } ,
438438 ]
439439
440440 sinon . assert . calledWith ( updateStoreSpy , tabId , {
Original file line number Diff line number Diff line change 11import { ChatItem , ChatItemFormItem , ChatItemType } from '@aws/mynah-ui'
22
33export enum BedrockModel {
4+ CLAUDE_SONNET_4_20250514_V1_0 = 'CLAUDE_SONNET_4_20250514_V1_0' ,
45 CLAUDE_3_7_SONNET_20250219_V1_0 = 'CLAUDE_3_7_SONNET_20250219_V1_0' ,
5- CLAUDE_3_5_SONNET_20241022_V2_0 = 'CLAUDE_3_5_SONNET_20241022_V2_0' ,
66}
77
88type ModelDetails = {
99 label : string
1010}
1111
1212const modelRecord : Record < BedrockModel , ModelDetails > = {
13- [ BedrockModel . CLAUDE_3_5_SONNET_20241022_V2_0 ] : { label : 'Claude Sonnet 3.5' } ,
1413 [ BedrockModel . CLAUDE_3_7_SONNET_20250219_V1_0 ] : { label : 'Claude Sonnet 3.7' } ,
14+ [ BedrockModel . CLAUDE_SONNET_4_20250514_V1_0 ] : { label : 'Claude Sonnet 4' } ,
1515}
1616
1717const modelOptions = Object . entries ( modelRecord ) . map ( ( [ value , { label } ] ) => ( {
Original file line number Diff line number Diff line change @@ -5,6 +5,4 @@ export const outputLimitExceedsPartialMsg = 'output exceeds maximum character li
55export const responseTimeoutMs = 170_000
66export const responseTimeoutPartialMsg = 'Response processing timed out after'
77export const clientTimeoutMs = 180_000
8- export const defaultModelId = undefined
9- // TODO: Uncomment this line when model selection is ready to release
10- // export const defaultModelId = 'CLAUDE_3_7_SONNET_20250219_V1_0' // TODO: this can't be imported from chat-client, so we hardcode it here
8+ export const defaultModelId = 'CLAUDE_SONNET_4_20250514_V1_0' // TODO: this can't be imported from chat-client, so we hardcode it here
You can’t perform that action at this time.
0 commit comments