mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-29 12:11:09 +00:00
refactor(auth): enhance useAuthCommand to include history management and improve error handling in QwenOAuth2Client (#1077)
This commit is contained in:
parent
07069f00d1
commit
a15b84e2a1
4 changed files with 74 additions and 51 deletions
|
|
@ -353,7 +353,7 @@ export const AppContainer = (props: AppContainerProps) => {
|
|||
handleAuthSelect,
|
||||
openAuthDialog,
|
||||
cancelAuthentication,
|
||||
} = useAuthCommand(settings, config);
|
||||
} = useAuthCommand(settings, config, historyManager.addItem);
|
||||
|
||||
const { proQuotaRequest, handleProQuotaChoice } = useQuotaAndFallback({
|
||||
config,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue