Revert "fix: 将所有emoji/Unicode特殊字符替换为ASCII安全字符"

This reverts commit 3cd67ffe451be2cc7a66b5c554966f1d5aa58c7c.
This commit is contained in:
liuzh
2026-04-01 20:43:31 +08:00
parent eeceaaaea9
commit cc0d3f8b00
15 changed files with 28 additions and 28 deletions
@@ -24,6 +24,6 @@ public class ClearCommand implements SlashCommand {
if (context.agentLoop() != null) {
context.agentLoop().reset();
}
return AnsiStyle.green(" [OK] Conversation history cleared.");
return AnsiStyle.green(" Conversation history cleared.");
}
}
@@ -27,8 +27,8 @@ public class CompactCommand implements SlashCommand {
if (context.agentLoop() != null) {
int before = context.agentLoop().getMessageHistory().size();
context.agentLoop().reset();
return AnsiStyle.green(" [OK] Context compacted: " + before + " messages -> 1 (system prompt only)");
return AnsiStyle.green(" Context compacted: " + before + " messages 1 (system prompt only)");
}
return AnsiStyle.yellow(" [!] No active conversation to compact.");
return AnsiStyle.yellow(" No active conversation to compact.");
}
}
@@ -38,7 +38,7 @@ public class ModelCommand implements SlashCommand {
if (args != null && !args.isBlank()) {
sb.append("\n");
sb.append(AnsiStyle.yellow(" [!] Model switching not yet implemented. Set AI_MODEL env variable."));
sb.append(AnsiStyle.yellow(" Model switching not yet implemented. Set AI_MODEL env variable."));
}
return sb.toString();