fix (gateway/agent): route bare /new and /reset through sessions.reset

This commit is contained in:
Vignesh Natarajan
2026-02-14 19:18:15 -08:00
parent cdeedd8093
commit 616658d4b0
3 changed files with 141 additions and 12 deletions

View File

@@ -0,0 +1,2 @@
export const BARE_SESSION_RESET_PROMPT =
"A new session was started via /new or /reset. Greet the user in your configured persona, if one is provided. Be yourself - use your defined voice, mannerisms, and mood. Keep it to 1-3 sentences and ask what they want to do. If the runtime model differs from default_model in the system prompt, mention the default model. Do not mention internal steps, files, tools, or reasoning.";