chore: remove redundant commands /agent, /stream, /swap (#202)
Co-authored-by: Letta <noreply@letta.com>
This commit is contained in:
@@ -10,26 +10,12 @@ interface Command {
|
||||
}
|
||||
|
||||
export const commands: Record<string, Command> = {
|
||||
"/agent": {
|
||||
desc: "Show agent link",
|
||||
handler: () => {
|
||||
// Handled specially in App.tsx to access agent ID
|
||||
return "Getting agent link...";
|
||||
},
|
||||
},
|
||||
"/model": {
|
||||
desc: "Switch model",
|
||||
handler: () => {
|
||||
return "Opening model selector...";
|
||||
},
|
||||
},
|
||||
"/stream": {
|
||||
desc: "Toggle token streaming on/off",
|
||||
handler: () => {
|
||||
// Handled specially in App.tsx for live toggling
|
||||
return "Toggling token streaming...";
|
||||
},
|
||||
},
|
||||
"/exit": {
|
||||
desc: "Exit and show session stats",
|
||||
handler: () => {
|
||||
@@ -79,14 +65,6 @@ export const commands: Record<string, Command> = {
|
||||
return "Updating description...";
|
||||
},
|
||||
},
|
||||
"/swap": {
|
||||
desc: "Alias for /resume",
|
||||
hidden: true, // Hidden - use /resume instead
|
||||
handler: () => {
|
||||
// Handled specially in App.tsx - redirects to /resume
|
||||
return "Opening session selector...";
|
||||
},
|
||||
},
|
||||
"/toolset": {
|
||||
desc: "Switch toolset (codex/default)",
|
||||
handler: () => {
|
||||
|
||||
Reference in New Issue
Block a user