Add Knowledge Hub books FTS and remove training UI (0.16.0).

Index Assistent/books search.jsonl, expose knowledge hops/catalog in chat, and drop QLoRA/HF training stack.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Leonid Pershin
2026-08-23 23:15:27 +03:00
co-authored by Cursor
parent baa75f2858
commit e1b5743795
25 changed files with 1611 additions and 5024 deletions
+4 -2
View File
@@ -339,7 +339,7 @@ public partial class SwarmAssistentExtension
string embedModel = raw?["embed_model"]?.ToString() ?? Config.LoadSettings()["embed_model"]?.ToString();
try
{
(string reply, JObject parsed, JArray civitai, int systemChars, JObject systemLayers) = await RunChatWithHops(
(string reply, JObject parsed, JArray civitai, JObject knowledge, int systemChars, JObject systemLayers) = await RunChatWithHops(
session, root, modelName, packName, includeBase, contextJson, userMessages, personaId: persona, skillIds: skills, embedModel: embedModel);
JObject result = new()
{
@@ -350,6 +350,7 @@ public partial class SwarmAssistentExtension
["persona"] = persona,
["raw"] = parsed,
["civitai_results"] = civitai,
["knowledge"] = knowledge,
["system_chars"] = systemChars,
["system_layers"] = systemLayers,
};
@@ -409,7 +410,7 @@ public partial class SwarmAssistentExtension
}, API.WebsocketTimeout);
}
}
(string reply, JObject parsed, JArray civitai, int systemChars, JObject systemLayers) = await RunChatWithHops(
(string reply, JObject parsed, JArray civitai, JObject knowledge, int systemChars, JObject systemLayers) = await RunChatWithHops(
session, root, modelName, packName, includeBase, contextJson, userMessages, OnDelta, OnHopStart, persona, skills, embedModel);
JObject done = new()
{
@@ -421,6 +422,7 @@ public partial class SwarmAssistentExtension
["persona"] = persona,
["raw"] = parsed,
["civitai_results"] = civitai,
["knowledge"] = knowledge,
["system_chars"] = systemChars,
["system_layers"] = systemLayers,
};