Ship Assistent 0.13.1: compile 0.13.0 so the SwarmUI tab loads.

Add missing WebSocket/HttpClient usings, stop using static on Config/FilePath helpers, and copy Microsoft.Data.Sqlite next to the extension dll.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Leonid Pershin
2026-08-22 15:14:31 +03:00
co-authored by Cursor
parent 474a674a35
commit d29436c944
10 changed files with 32 additions and 13 deletions
-1
View File
@@ -729,7 +729,6 @@ public partial class SwarmAssistentExtension
ctx.Remove("enabled_loras"); // alias of selected_loras — do not double-feed
try
{
string pid = AssistentConfig.SafeId(ctx["persona"]?.ToString()) ?? Config?.DefaultPersonaId() ?? "neutral";
JObject asst = Config?.LoadAssistant(pid) ?? new JObject();
double weight = asst["user_prefs_weight"]?.Value<double?>() ?? 1.0;
int maxPrefs = asst["user_prefs_max"]?.Value<int?>() ?? 16;