mirror of
https://github.com/Crosstalk-Solutions/project-nomad.git
synced 2026-04-05 00:06:17 +02:00
fix(ai-chat): easy setup with remote ollama wasnt finishing install
This also makes it so that nomad_ollama container is not required when doing a remote llm setup.
This commit is contained in:
parent
cac6917b1b
commit
dd7d5b0230
|
|
@ -659,6 +659,11 @@ export class SystemService {
|
||||||
if (service.installed) {
|
if (service.installed) {
|
||||||
// If marked as installed but container doesn't exist, mark as not installed
|
// If marked as installed but container doesn't exist, mark as not installed
|
||||||
if (!containerExists) {
|
if (!containerExists) {
|
||||||
|
// Exception: remote Ollama is configured without a local container — don't reset it
|
||||||
|
if (service.service_name === SERVICE_NAMES.OLLAMA) {
|
||||||
|
const remoteUrl = await KVStore.getValue('ai.remoteOllamaUrl')
|
||||||
|
if (remoteUrl) continue
|
||||||
|
}
|
||||||
logger.warn(
|
logger.warn(
|
||||||
`Service ${service.service_name} is marked as installed but container does not exist. Marking as not installed.`
|
`Service ${service.service_name} is marked as installed but container does not exist. Marking as not installed.`
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user