hedgequantx 2.6.104 → 2.6.105
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
CHANGED
|
@@ -467,12 +467,14 @@ const managementRequest = (method, endpoint, body = null) => {
|
|
|
467
467
|
const getAuthUrl = async (provider) => {
|
|
468
468
|
await ensureRunning();
|
|
469
469
|
|
|
470
|
+
// Use is_webui=true to start the callback server on port 54545
|
|
471
|
+
// Without this, CLIProxyAPI generates the URL but doesn't listen for callbacks
|
|
470
472
|
const endpoints = {
|
|
471
|
-
anthropic: '/v0/management/anthropic-auth-url',
|
|
472
|
-
openai: '/v0/management/codex-auth-url',
|
|
473
|
-
gemini: '/v0/management/gemini-cli-auth-url',
|
|
474
|
-
qwen: '/v0/management/qwen-auth-url',
|
|
475
|
-
iflow: '/v0/management/iflow-auth-url'
|
|
473
|
+
anthropic: '/v0/management/anthropic-auth-url?is_webui=true',
|
|
474
|
+
openai: '/v0/management/codex-auth-url?is_webui=true',
|
|
475
|
+
gemini: '/v0/management/gemini-cli-auth-url?is_webui=true',
|
|
476
|
+
qwen: '/v0/management/qwen-auth-url?is_webui=true',
|
|
477
|
+
iflow: '/v0/management/iflow-auth-url?is_webui=true'
|
|
476
478
|
};
|
|
477
479
|
|
|
478
480
|
const endpoint = endpoints[provider];
|