@auxot/worker-cli 0.1.4 → 0.1.6
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 -1
- package/dist/index.js.map +2 -2
- package/dist/registry.json +9694 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5729,7 +5729,8 @@ async function main() {
|
|
|
5729
5729
|
console.log(`GPU ID: ${gpuId}`);
|
|
5730
5730
|
console.log();
|
|
5731
5731
|
console.log("[2/4] Connecting to Auxot platform...");
|
|
5732
|
-
const
|
|
5732
|
+
const baseUrl = config.auxotUrl.replace(/^http/, "ws").replace(/^https/, "wss");
|
|
5733
|
+
const wsUrl = `${baseUrl}/api/gpu/client`;
|
|
5733
5734
|
const placeholderCapabilities = {
|
|
5734
5735
|
model: "pending",
|
|
5735
5736
|
ctx_size: 0,
|