@virtue-ai/gateway-connect 0.3.6 → 0.3.7
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/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -466,8 +466,8 @@ Supported models:
|
|
|
466
466
|
let gatewayUrl = getArg('gateway-url') || DEFAULT_GATEWAY_URL;
|
|
467
467
|
const model = getArg('model');
|
|
468
468
|
const guardUuid = getArg('guard-uuid') || process.env.VIRTUEAI_GUARD_UUID;
|
|
469
|
-
const apiUrl = getArg('api-url') ||
|
|
470
|
-
const gatewayId = getArg('gateway-id') ||
|
|
469
|
+
const apiUrl = getArg('api-url') || '';
|
|
470
|
+
const gatewayId = getArg('gateway-id') || '';
|
|
471
471
|
gatewayUrl = gatewayUrl.replace(/\/mcp\/?$/, '').toLowerCase();
|
|
472
472
|
console.log('\n VirtueAI Gateway Connect\n');
|
|
473
473
|
console.log(` Gateway: ${gatewayUrl}`);
|