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:
69
dist/assets/index-C2JOafdN.js
vendored
69
dist/assets/index-C2JOafdN.js
vendored
File diff suppressed because one or more lines are too long
1
dist/assets/index-Cc0DLWqA.css
vendored
1
dist/assets/index-Cc0DLWqA.css
vendored
File diff suppressed because one or more lines are too long
1
dist/assets/index-HsqF-Zwv.css
vendored
Normal file
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
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
4
dist/index.html
vendored
@@ -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>
|
||||
|
||||
16
src/App.jsx
16
src/App.jsx
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user