File tree Expand file tree Collapse file tree 4 files changed +12
-21
lines changed
codewhispererChat/controllers/chat Expand file tree Collapse file tree 4 files changed +12
-21
lines changed Original file line number Diff line number Diff line change 525525 "@aws-sdk/s3-request-presigner" : " <3.731.0" ,
526526 "@aws-sdk/smithy-client" : " <3.731.0" ,
527527 "@aws-sdk/util-arn-parser" : " <3.731.0" ,
528- "@aws/mynah-ui" : " ^4.30 .1" ,
528+ "@aws/mynah-ui" : " ^4.31.0-beta .1" ,
529529 "@gerhobbelt/gitignore-parser" : " ^0.2.0-9" ,
530530 "@iarna/toml" : " ^2.2.5" ,
531531 "@smithy/fetch-http-handler" : " ^5.0.1" ,
Original file line number Diff line number Diff line change @@ -91,20 +91,11 @@ export class TabDataGenerator {
9191 tabType === 'cwc'
9292 ? [
9393 {
94- type : 'toggle' ,
95- id : 'prompt-type' ,
96- value : 'pair-programming-on' ,
97- tooltip : 'Pair programmer on' ,
98- options : [
99- {
100- value : 'pair-programming-on' ,
101- icon : 'code-block' , // TODO: correct icons
102- } ,
103- {
104- value : 'pair-programming-off' ,
105- icon : 'chat' , // TODO: correct icons
106- } ,
107- ] ,
94+ type : 'switch' ,
95+ id : 'pair-programmer-mode' ,
96+ tooltip : 'Enable or disable pair programmer mode' ,
97+ value : 'true' ,
98+ icon : 'code-block' ,
10899 } ,
109100 ]
110101 : [ ] ,
Original file line number Diff line number Diff line change @@ -955,8 +955,8 @@ export class ChatController {
955955
956956 private async processPromptInputOptionChange ( message : PromptInputOptionChange ) {
957957 const session = this . sessionStorage . getSession ( message . tabID )
958- const promptTypeValue = message . optionsValues [ 'prompt-type ' ]
959- if ( promptTypeValue === 'pair-programming-on ' ) {
958+ const promptTypeValue = message . optionsValues [ 'pair-programmer-mode ' ]
959+ if ( promptTypeValue === 'true ' ) {
960960 session . setPairProgrammingModeOn ( true )
961961 this . messenger . sendDirectiveMessage (
962962 message . tabID ,
You can’t perform that action at this time.
0 commit comments