@shenghuabi/llama 1.0.0 → 1.0.2

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/index.mjs CHANGED
@@ -2657,7 +2657,7 @@ var LlamaSwapService = class extends ExternalCallBaseService {
2657
2657
  );
2658
2658
  start$ = signal(false);
2659
2659
  llamaDir$$ = computed(() => {
2660
- let fullPath = path3.join(this.#config().dir, "llama");
2660
+ const fullPath = path3.join(this.#config().dir, "llama");
2661
2661
  if (this.#config().useRelConfigPath) {
2662
2662
  return path3.relative(this.#config().cwd, fullPath);
2663
2663
  }
@@ -3005,7 +3005,7 @@ var LlamaSwapService = class extends ExternalCallBaseService {
3005
3005
  return `http://${hostStr}:${portStr}`;
3006
3006
  }
3007
3007
  async getLlamaSwapConfig() {
3008
- let isExists = fs2.existsSync(this.#llamaSwapPath$$());
3008
+ const isExists = fs2.existsSync(this.#llamaSwapPath$$());
3009
3009
  if (!isExists) {
3010
3010
  return void 0;
3011
3011
  }