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

@@ -24,7 +24,7 @@ export default function WebsearchSettings({
useEffect(() => {
let cancelled = false
window.electronAPI.getSettings().then(settings => {
desktopApi.getSettings().then(settings => {
if (cancelled) {
return
}
@@ -46,7 +46,7 @@ export default function WebsearchSettings({
const handleBackendUrlChange = (event) => {
const newUrl = event.target.value
setBackendApiUrl(newUrl)
window.electronAPI.setSetting(BACKEND_API_URL_KEY, newUrl)
desktopApi.setSetting(BACKEND_API_URL_KEY, newUrl)
if (onBackendApiUrlChange) {
onBackendApiUrlChange(newUrl)
}
@@ -55,7 +55,7 @@ export default function WebsearchSettings({
const handleOllamaUrlChange = (event) => {
const newUrl = event.target.value
setOllamaApiUrl(newUrl)
window.electronAPI.setSetting(OLLAMA_API_URL_KEY, newUrl)
desktopApi.setSetting(OLLAMA_API_URL_KEY, newUrl)
}
return (