swarm ui: one slider for the fresh-session threshold and the soft context limit
This commit is contained in:
parent
5175d3663e
commit
b16074e76b
1 changed files with 450 additions and 18 deletions
|
|
@ -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),
|
||||
},
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue