auto-git:

[add] dist/assets/index-HsqF-Zwv.css
 [add] dist/assets/index-gF5dDH11.js
 [change] dist/index.html
 [change] src/App.jsx
 [unlink] dist/assets/index-C2JOafdN.js
 [unlink] dist/assets/index-Cc0DLWqA.css
This commit is contained in:
2026-03-19 21:39:14 +01:00
parent f83f419eec
commit 4ad4fa15eb
6 changed files with 76 additions and 88 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

1
dist/assets/index-HsqF-Zwv.css vendored Normal file

File diff suppressed because one or more lines are too long

73
dist/assets/index-gF5dDH11.js vendored Normal file

File diff suppressed because one or more lines are too long

4
dist/index.html vendored
View File

@@ -5,8 +5,8 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>LLM Desktop</title>
<script type="module" crossorigin src="/assets/index-C2JOafdN.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-Cc0DLWqA.css">
<script type="module" crossorigin src="/assets/index-gF5dDH11.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-HsqF-Zwv.css">
</head>
<body>
<div id="root"></div>

View File

@@ -773,22 +773,6 @@ async function regenerateFromIndex(index, overrideUserText = null) {
}
}
async function startLibraryJob(slug, kind) {
const options = {
method: 'POST',
headers: { 'Content-Type': 'application/json' }
}
if (kind === 'embed') {
options.body = JSON.stringify({})
}
const response = await fetch(`${ollamaApiUrl}/libraries/${slug}/jobs/${kind}`, options)
if (!response.ok) {
const detail = await response.text()
throw new Error(detail || `HTTP ${response.status}`)
}
await refreshLibraryJobs()
}
async function createLibrary(nameOverride = null) {
const rawName = typeof nameOverride === 'string' ? nameOverride : newLibraryName
const name = rawName.trim()