Ship Assistent 0.14.0: chat sessions, ask-only hops, and context compression.
Per-chat Generate session with sparse deltas; drop Cards/Civitai/wanted hops; rolling history summary via the same Ollama model with a budget chip and /compress. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -190,7 +190,10 @@ public partial class SwarmAssistentExtension
|
||||
if (assistant is not null && assistant.Count > 0)
|
||||
{
|
||||
JObject sparse = new();
|
||||
foreach (string key in new[] { "num_ctx", "history_keep_turns", "memory_top_k", "user_prefs_weight", "user_prefs_max" })
|
||||
foreach (string key in new[] {
|
||||
"num_ctx", "history_keep_turns", "memory_top_k", "user_prefs_weight", "user_prefs_max",
|
||||
"compress_at", "chars_per_token", "compress_auto", "num_predict",
|
||||
})
|
||||
{
|
||||
if (assistant[key] is not null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user