* fix: add multi-model support for Factory Droid CLI tool (closes #521) * fix: show quota auth expired message for Kiro social auth accounts (closes #588)
This commit is contained in:
parent
877b7446bb
commit
2e8784cf79
1 changed files with 8 additions and 0 deletions
|
|
@ -665,6 +665,14 @@ async function getKiroUsage(accessToken, providerSpecificData) {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Social auth (Google/GitHub) - these use a different token format that may not work with AWS CodeWhisperer quota APIs
|
||||||
|
if (sawAuthError && (authMethod === "google" || authMethod === "github")) {
|
||||||
|
return {
|
||||||
|
message: "Kiro quota API authentication expired. Chat may still work.",
|
||||||
|
quotas: {},
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
if (sawAuthError) {
|
if (sawAuthError) {
|
||||||
return {
|
return {
|
||||||
message: "Kiro quota API rejected the current token. Chat may still work.",
|
message: "Kiro quota API rejected the current token. Chat may still work.",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue