Share one AI across the mesh instead of confining it to the owner
Curated state copied to every node is state that can disagree, so the index, the model and the shared memory stay on the owner and each node reaches them over the SSH trust onboarding already builds. Chats stay on the node that had them; memory and bug reports stay the owner's to write.
This commit is contained in:
@@ -9,11 +9,13 @@
|
||||
// api/ai.php, receives a token, and polls until the job reaches done or error. That keeps
|
||||
// the api layer on one response convention; see api/ai.php for why SSE was declined.
|
||||
//
|
||||
// The tab is only reachable on HOST1, and only when AI_ENABLED is true. Varaverk.page omits
|
||||
// it from the tab list and rejects it server-side, and api/ai.php refuses every action on
|
||||
// the same two conditions independently — hiding a link is not access control. HOST1 is the
|
||||
// node with the GPU, the Ollama process and the index; include/ai.php reads only the local
|
||||
// {HOST}_OLLAMA_URL, so the tab could not function anywhere else regardless.
|
||||
// The tab is only reachable on the AI owner, and only when AI_ENABLED is true. Varaverk.page
|
||||
// omits it from the tab list and rejects it server-side, and api/ai.php refuses the owner-only
|
||||
// actions independently — hiding a link is not access control.
|
||||
//
|
||||
// That is a split of surfaces, not of capability. The mesh shares one AI and every node has an
|
||||
// assistant, served from here over include/ai_rpc.php; what stays on this node is the machinery
|
||||
// this page exposes — the index, the model configuration and the bug reports.
|
||||
//
|
||||
// DESIGN PRINCIPLES
|
||||
// The banner leads with offload, not with size.
|
||||
|
||||
Reference in New Issue
Block a user