forked from enderofwings/NexusOS
Port Windows installer/ncp fixes and a real nomic-embed-text default
- install-windows.ps1: warn about a leftover profile-based ncp() that would shadow ncp.cmd; the "press any key to close" footer now skips the wait when stdin is redirected (was hanging indefinitely) and exits cleanly instead of Stop-Process when it owns the window; pulls nomic-embed-text alongside the chat/memory models. - management/ncp.py: ncp start / start -b bring Ollama up automatically; longer timeout + real error message on a slow model warm. - synapse/nexus_config.py: DEFAULT_EMBED_MODEL, single source of truth alongside DEFAULT_CHAT_MODEL/DEFAULT_MEMORY_MODEL. - synapse/ollama_manager.py: is_available() cached instead of spawning a process per /status poll; is_running() timeout dropped 2s -> 0.5s so a healthy backend stops reading as dead; embed() reads the new default instead of a hardcoded string; de-duplicated serve-env setup. Ported via bin/publish.sh from NexusOS-jon. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -38,7 +38,7 @@ manually from the app (**Start AI** in the sidebar), not at boot.
|
||||
|
||||
```powershell
|
||||
# 0. Allow scripts to run (PowerShell blocks unsigned scripts by default, which
|
||||
# stops Nexus's CLI from working). Process scope covers only one single window;
|
||||
# stops Nexus's CLI from working). Process scope covers only this window;
|
||||
# LocalMachine makes it permanent so ncp works from every future shell (run
|
||||
# PowerShell as Administrator for the LocalMachine line).
|
||||
Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass -Force
|
||||
|
||||
Reference in New Issue
Block a user