Seed Assistent personas as overlay folders and tighten Ollama/Assistent glue.

gpu-rent now writes personas/<id>/ on the VM (not legacy personas.json), adds seed-personas/doctor checks, and shortens mid/high keep-alive now that Assistent parks the LLM before Generate.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Leonid Pershin
2026-08-22 01:00:14 +03:00
co-authored by Cursor
parent 789fa26918
commit 03ba4cb6ed
22 changed files with 430 additions and 53 deletions
+3 -2
View File
@@ -16,9 +16,10 @@ def test_collect_links_swarm_and_ollama(monkeypatch):
links = collect_access_links(_Cfg(), tunneled=True)
labels = [x.label for x in links]
assert "SwarmUI UI" in labels
assert "Assistent" in labels
assert "SwarmUI MCP" in labels
assert "Ollama API" in labels
assert any("17811" in x.url for x in links)
assert any(x.label == "Assistent" and "вкладка" in x.note for x in links)
def test_collect_links_no_tunnel():
@@ -57,7 +58,7 @@ def test_access_panel_hides_stale_llm_error_when_ollama_ok(monkeypatch):
{
"name": "ollama",
"ok": True,
"detail": "1 models (huihui_ai/qwen2.5-vl-abliterated:7b)",
"detail": "1 models (huihui_ai/qwen3-vl-abliterated:8b-instruct)",
}
],
}