-
Notifications
You must be signed in to change notification settings - Fork 83
Model selection for code review tool #2196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
6a244bf
67473ae
bb96f18
91eb7ca
9a3c147
9b68466
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -1539,6 +1539,8 @@ declare namespace CodeWhispererBearerTokenClient { | |
| codeScanName?: CodeScanName; | ||
| codeDiffMetadata?: CodeDiffMetadata; | ||
| profileArn?: ProfileArn; | ||
| languageModelId?: ModelId; | ||
| clientType?: Origin; | ||
|
Comment on lines
+1542
to
+1543
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. you cant modify the d.ts I am pretty sure. This is a built file I believe
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. So, I didn't modify it directly. I used another script to generate this. Should this not be included in the PR/commit ?
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. you need to modify the RTS model file, and re-build this (Im pretty sure that is the process)
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this is fine then
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. you need to modify it. This is fine |
||
| } | ||
| export type StartCodeAnalysisRequestClientTokenString = string; | ||
| export interface StartCodeAnalysisResponse { | ||
|
|
@@ -2186,4 +2188,4 @@ declare namespace CodeWhispererBearerTokenClient { | |
| } | ||
| export = CodeWhispererBearerTokenClient; | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For my understanding, Why do we need clientType?
Do we pass IDE || CLI etc in this ? to separate CLI requests from IDE?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah we want to send the clientType to distinguish between IDE and CLI. To use this as a tenant after getting the capacity for ReviewBird.