Watch
0
0
Fork
You've already forked hyperhive
0

swarm ui: one slider for the fresh-session threshold and the soft context limit

This commit is contained in:
iris 2026-11-16 10:50:13 +01:00
commit b16074e76b

View file

@ -15,6 +15,7 @@ export interface Archetype {
subagent_models?: string[];
max_subagents?: number;
soft_context_percent?: number;
fresh_session_percent?: number;
};
prompt?: string;
/** The archetype's icon as SVG text. */
@ -74,6 +75,10 @@ export function prefill(
inference.soft_context_percent === undefined
? ""
: String(inference.soft_context_percent),
freshSession:
inference.fresh_session_percent === undefined
? ""
: String(inference.fresh_session_percent),
},
};
}