-
Notifications
You must be signed in to change notification settings - Fork 158
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ed8b39f
commit 7a28c7d
Showing
7 changed files
with
24 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,15 @@ | ||
import { homedir } from "os"; | ||
import { findLMStudioHome } from "@lmstudio/lms-common-server"; | ||
import { join } from "path"; | ||
|
||
export const pluginsFolderPath = join(homedir(), ".cache", "lm-studio", "extensions", "plugins"); | ||
export const lmsKey2Path = join(homedir(), ".cache", "lm-studio", ".internal", "lms-key-2"); | ||
const lmstudioHome = findLMStudioHome(); | ||
export const pluginsFolderPath = join(lmstudioHome, "extensions", "plugins"); | ||
export const lmsKey2Path = join(lmstudioHome, ".internal", "lms-key-2"); | ||
export const cliPrefPath = join(lmstudioHome, ".internal", "cli-pref.json"); | ||
export const appInstallLocationFilePath = join( | ||
lmstudioHome, | ||
".internal", | ||
"app-install-location.json", | ||
); | ||
export const defaultModelsFolder = join(lmstudioHome, "models"); | ||
export const serverCtlPath = join(lmstudioHome, ".internal", "http-server-ctl.json"); | ||
export const serverConfigPath = join(lmstudioHome, ".internal", "http-server-config.json"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters