MCPcopy Create free account
hub / github.com/Icecubesaad/OpenLLM-Studio / getDbPath

Function getDbPath

src/hooks/useOptimizationSettings.ts:15–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13
14 useEffect(() => {
15 const getDbPath = async () => {
16 try {
17 const path = await resolveResource('openllm_studio.db');
18 setDbPath(path);
19 } catch (err) {
20 console.error('Failed to resolve database path:', err);
21 setDbPath('./openllm_studio.db');
22 }
23 };
24
25 getDbPath();
26 }, []);

Callers 1

useOptimizationSettingsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected