@auxot/worker-cli 0.1.3 → 0.1.5

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 CHANGED
@@ -5661,7 +5661,7 @@ var args = process.argv.slice(2);
5661
5661
  var config = {
5662
5662
  gpuKey: process.env.AUXOT_GPU_KEY || "",
5663
5663
  llamaUrl: process.env.AUXOT_LLAMA_URL || "http://localhost:9002",
5664
- auxotUrl: process.env.AUXOT_URL || "http://auxot.localhost:9000",
5664
+ auxotUrl: process.env.AUXOT_URL || "https://auxot.com",
5665
5665
  debugLevel: 0
5666
5666
  };
5667
5667
  for (let i = 0; i < args.length; i++) {
@@ -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 wsUrl = config.auxotUrl.replace(/^http/, "ws").replace(/^https/, "wss");
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,