mirror of
https://github.com/decolua/9router.git
synced 2026-05-08 12:01:28 +00:00
* 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:
@@ -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) {
|
||||
return {
|
||||
message: "Kiro quota API rejected the current token. Chat may still work.",
|
||||
|
||||
Reference in New Issue
Block a user