Handoff-style /model switch command and per-turn thinking level (#64)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
816a823b75
commit
1e23452f48
58 files changed
+1064
-336
No files matched your search
@@ -29,11 +29,11 @@ const TITLE_MAX_CHARS = 30;
|
||||
/**
|
||||
* Special message markers that must never leak into a title. These are machine-inserted
|
||||
* XML-ish blocks (a skill invocation wraps the body in `<use_skills>…</use_skills>`, a
|
||||
* subagent handoff / scheduled task prepend their own blocks) — meaningful to the runtime,
|
||||
* noise in a title. The list is a fixed allowlist so ordinary angle-bracket text (e.g. a
|
||||
* user pasting `<div>`) is left untouched.
|
||||
* subagent handoff / scheduled task / model switch prepend their own blocks) — meaningful
|
||||
* to the runtime, noise in a title. The list is a fixed allowlist so ordinary angle-bracket
|
||||
* text (e.g. a user pasting `<div>`) is left untouched.
|
||||
*/
|
||||
const MARKER_TAGS = ["use_skills", "handoff_from", "scheduled_task"];
|
||||
const MARKER_TAGS = ["use_skills", "handoff_from", "scheduled_task", "model_switch_from"];
|
||||
|
||||
/**
|
||||
* Strips machine-inserted marker blocks (see MARKER_TAGS) from conversation text so titles are
|
||||
|
||||
Reference in new issue
Block a user