fix: clarify /clear command output message (#609)
Co-authored-by: Letta <noreply@letta.com>
This commit is contained in:
@@ -4512,7 +4512,8 @@ export default function App({
|
||||
kind: "command",
|
||||
id: cmdId,
|
||||
input: msg,
|
||||
output: "All agent messages reset",
|
||||
output:
|
||||
"Agent's in-context messages cleared & moved to conversation history",
|
||||
phase: "finished",
|
||||
success: true,
|
||||
});
|
||||
|
||||
@@ -74,7 +74,7 @@ function parseAliasesFromFile(filePath: string): Map<string, string> {
|
||||
const funcMatch =
|
||||
trimmed.match(/^([a-zA-Z_][a-zA-Z0-9_]*)\s*\(\)\s*\{?/) ||
|
||||
trimmed.match(/^function\s+([a-zA-Z_][a-zA-Z0-9_]*)\s*\{?/);
|
||||
if (funcMatch && funcMatch[1]) {
|
||||
if (funcMatch?.[1]) {
|
||||
functionName = funcMatch[1];
|
||||
functionBody = `${line}\n`;
|
||||
braceDepth =
|
||||
|
||||
Reference in New Issue
Block a user