@shenghuabi/llama 1.0.0 → 1.0.1
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 +2 -2
package/index.js
CHANGED
|
@@ -2698,7 +2698,7 @@ var LlamaSwapService = class extends import_external_call.ExternalCallBaseServic
|
|
|
2698
2698
|
);
|
|
2699
2699
|
start$ = (0, import_static_injector2.signal)(false);
|
|
2700
2700
|
llamaDir$$ = (0, import_static_injector2.computed)(() => {
|
|
2701
|
-
|
|
2701
|
+
const fullPath = import_vfs2.path.join(this.#config().dir, "llama");
|
|
2702
2702
|
if (this.#config().useRelConfigPath) {
|
|
2703
2703
|
return import_vfs2.path.relative(this.#config().cwd, fullPath);
|
|
2704
2704
|
}
|
|
@@ -3046,7 +3046,7 @@ var LlamaSwapService = class extends import_external_call.ExternalCallBaseServic
|
|
|
3046
3046
|
return `http://${hostStr}:${portStr}`;
|
|
3047
3047
|
}
|
|
3048
3048
|
async getLlamaSwapConfig() {
|
|
3049
|
-
|
|
3049
|
+
const isExists = fs2.existsSync(this.#llamaSwapPath$$());
|
|
3050
3050
|
if (!isExists) {
|
|
3051
3051
|
return void 0;
|
|
3052
3052
|
}
|