@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.js +2 -2
- package/index.js.map +2 -2
- package/index.mjs +2 -2
- package/index.mjs.map +2 -2
- package/package.json +4 -4
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
|
-
|
|
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
|
-
|
|
3008
|
+
const isExists = fs2.existsSync(this.#llamaSwapPath$$());
|
|
3009
3009
|
if (!isExists) {
|
|
3010
3010
|
return void 0;
|
|
3011
3011
|
}
|