refactor: re-organize Qwen related code files.

Co-authored-by: tanzhenxin <tanzhenxing1987@gmail.com>
Co-authored-by: pomelo-nwu <czynwu@outlook.com>
This commit is contained in:
mingholy.lmh
2025-08-08 11:44:38 +08:00
parent ea7dcf8347
commit ce632725b0
9 changed files with 39 additions and 34 deletions

View File

@@ -65,12 +65,7 @@ export const useQwenAuth = (
}));
// Set up event listeners
const handleDeviceAuth = (deviceAuth: {
verification_uri: string;
verification_uri_complete: string;
user_code: string;
expires_in: number;
}) => {
const handleDeviceAuth = (deviceAuth: DeviceAuthorizationInfo) => {
setQwenAuthState((prev) => ({
...prev,
deviceAuth: {