auto-git:

[change] src/App.jsx
 [change] src/AssistantMessageContent.jsx
 [change] src/GeneralSettings.jsx
 [change] src/InterfaceSettings.jsx
 [change] src/LibraryManager.jsx
 [change] src/WebsearchSettings.jsx
 [change] src/main.jsx
 [change] src/useChatScroll.js
This commit is contained in:
2026-05-06 04:39:39 +02:00
parent cfbae8378f
commit bb2b929d27
8 changed files with 33 additions and 33 deletions

View File

@@ -130,7 +130,7 @@ export default function LibraryManager({
async function addPaths() {
if (!library) return
const paths = await window.electronAPI?.pickPaths?.()
const paths = await desktopApi?.pickPaths?.()
if (!Array.isArray(paths) || paths.length === 0) return
try {
await registerPaths(paths)
@@ -307,7 +307,7 @@ export default function LibraryManager({
>
{file.enrich_enabled ? 'Use Raw Only' : 'Enable Enrich'}
</button>
<button className="button ghost" onClick={() => window.electronAPI?.openPath?.(file.path)}>Open</button>
<button className="button ghost" onClick={() => desktopApi?.openPath?.(file.path)}>Open</button>
<button className="button ghost" disabled={busy || isSyncing} onClick={() => removeFile(file.rel)}>Remove</button>
</div>
</div>