File tree Expand file tree Collapse file tree 3 files changed +16
-0
lines changed
server/aws-lsp-codewhisperer/src Expand file tree Collapse file tree 3 files changed +16
-0
lines changed Original file line number Diff line number Diff line change 35733573 "shape" : " Models" ,
35743574 "documentation" : " <p>List of available models</p>"
35753575 },
3576+ "defaultModel" : {
3577+ "shape" : " Model" ,
3578+ "documentation" : " <p>Default model set by the client</p>"
3579+ },
35763580 "nextToken" : {
35773581 "shape" : " Base64EncodedPaginationToken" ,
35783582 "documentation" : " <p>Token for retrieving the next page of results</p>"
Original file line number Diff line number Diff line change 33 * THIS FILE IS AUTOGENERATED BY 'generateServiceClient.ts'.
44 * DO NOT EDIT BY HAND.
55 */
6+
67import { Request } from 'aws-sdk/lib/request' ;
78import { Response } from 'aws-sdk/lib/response' ;
89import { AWSError } from 'aws-sdk/lib/error' ;
@@ -1118,6 +1119,10 @@ declare namespace CodeWhispererBearerTokenClient {
11181119 * List of available models
11191120 */
11201121 models : Models ;
1122+ /**
1123+ * Default model set by the client
1124+ */
1125+ defaultModel ?: Model ;
11211126 /**
11221127 * Token for retrieving the next page of results
11231128 */
Original file line number Diff line number Diff line change @@ -459,6 +459,13 @@ export class CodeWhispererServiceToken extends CodeWhispererServiceBase {
459459 return this . client . listAvailableProfiles ( request ) . promise ( )
460460 }
461461
462+ /**
463+ * @description Get list of available models
464+ */
465+ async listAvailableModels ( request : CodeWhispererTokenClient . ListAvailableModelsRequest ) {
466+ return this . client . listAvailableModels ( request ) . promise ( )
467+ }
468+
462469 /**
463470 * @description send telemetry event to code whisperer data warehouse
464471 */
You can’t perform that action at this time.
0 commit comments