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 36223622 "shape" : " Models" ,
36233623 "documentation" : " <p>List of available models</p>"
36243624 },
3625+ "defaultModel" : {
3626+ "shape" : " Model" ,
3627+ "documentation" : " <p>Default model set by the client</p>"
3628+ },
36253629 "nextToken" : {
36263630 "shape" : " Base64EncodedPaginationToken" ,
36273631 "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' ;
@@ -1132,6 +1133,10 @@ declare namespace CodeWhispererBearerTokenClient {
11321133 * List of available models
11331134 */
11341135 models : Models ;
1136+ /**
1137+ * Default model set by the client
1138+ */
1139+ defaultModel ?: Model ;
11351140 /**
11361141 * Token for retrieving the next page of results
11371142 */
Original file line number Diff line number Diff line change @@ -615,6 +615,13 @@ export class CodeWhispererServiceToken extends CodeWhispererServiceBase {
615615 return this . client . listAvailableProfiles ( request ) . promise ( )
616616 }
617617
618+ /**
619+ * @description Get list of available models
620+ */
621+ async listAvailableModels ( request : CodeWhispererTokenClient . ListAvailableModelsRequest ) {
622+ return this . client . listAvailableModels ( request ) . promise ( )
623+ }
624+
618625 /**
619626 * @description send telemetry event to code whisperer data warehouse
620627 */
You can’t perform that action at this time.
0 commit comments