hedgequantx 2.6.114 → 2.6.115
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/menus/ai-agent.js +3 -3
package/package.json
CHANGED
package/src/menus/ai-agent.js
CHANGED
|
@@ -1069,9 +1069,9 @@ const setupProxyOAuth = async (provider, config) => {
|
|
|
1069
1069
|
const submitSpinner = ora({ text: 'Submitting callback...', color: 'cyan' }).start();
|
|
1070
1070
|
try {
|
|
1071
1071
|
await proxyManager.submitCallback(callbackUrl.trim(), provider.id);
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
await
|
|
1072
|
+
// Callback succeeded - CLIProxyAPI handles the token exchange
|
|
1073
|
+
// No need to poll waitForAuth, the callback endpoint already did everything
|
|
1074
|
+
await new Promise(resolve => setTimeout(resolve, 500));
|
|
1075
1075
|
authSuccess = true;
|
|
1076
1076
|
submitSpinner.succeed('Authorization successful!');
|
|
1077
1077
|
} catch (submitError) {
|