Revert "fix: 将所有emoji/Unicode特殊字符替换为ASCII安全字符"
This reverts commit 3cd67ffe451be2cc7a66b5c554966f1d5aa58c7c.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user