-
Notifications
You must be signed in to change notification settings - Fork 83
feat(q): builderid "paid tier" flow #1197
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
Conversation
| return response | ||
| throw e | ||
| } finally { | ||
| this.inflightRequests.delete(controller) |
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.
This was a potential bug? If the service returns an error (which throws), the inflightRequests would not get updated.
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.
good catch, indeed I think we were not handling service errors. Thanks for working on the fix.
cab289b to
939e748
Compare
ef043b3 to
1968d12
Compare
b40cd74 to
027e119
Compare
4d7efa4 to
2ec3dfc
Compare
19e77d8 to
99f1e7c
Compare
|
Some high level questions:
If you want to merge it before any launch decision is made, you need a feature flag. then by launch date, disable the feature flag . |
All IDEs.
The only (optional) change needed in IDEs is if they add a |
f239192 to
f27737f
Compare
| }) | ||
|
|
||
| if (!isFreeTierLimitUi) { | ||
| // TODO: how to set a warning icon on the user's failed prompt? |
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.
is this a launch blocking TODO?
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.
This is a cosmetic issue that will need to be done as a followup. May require changes to mynah-ui.
server/aws-lsp-codewhisperer/src/shared/codeWhispererService.ts
Outdated
Show resolved
Hide resolved
|
can you fix the CI? |
1. get latest service models:
- `client/token/bearer-token-service.json`
- from: `<AWSVectorConsolasRuntimeServiceModel>/aws-sdk-external-2022-11-11/c2j/codewhispererruntime-2022-11-11.json`
- `client/sigv4/service.json`
- from: `<AWSVectorConsolasRuntimeServiceModel>/aws-sdk-external/c2j/codewhisperer-2024-10-25.json`
2. !!NOTE!! remove line `"signatureVersion": "bearer",` from `bearer-token-service.json`
3. restore the script that was mysteriously reverted in
aws#161 without any
documented alternative...
4. run `./node_modules/.bin/ts-node server/aws-lsp-codewhisperer/script/genclient.ts`
service model version: 1.0.20901.0
- control MynahUI from Flare server
Problem
When "free tier" limit is reached, there are no clear next steps.
Solution
Upgradebutton, and an IDE message.aws/chat/manageSubscriptioncommand, so clients can invoke the "Upgrade" codepath.Related IDE changes:
Todo
License
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.