We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d31a17b commit 6970a59Copy full SHA for 6970a59
1 file changed
iclaw/main.py
@@ -37,6 +37,7 @@
37
("/ca_bundle", "Set CA bundle for HTTPS (usage: /ca_bundle [path|off])"),
38
("/log", "Set log verbosity (usage: /log [verbose|info])"),
39
("/copy", "Copy last Copilot response to clipboard"),
40
+ ("/clear", "Clear conversation history"),
41
("/status", "Show current settings"),
42
("/help", "Show available commands"),
43
(".exit", "Quit"),
@@ -216,6 +217,11 @@ def main():
216
217
print(f" cwd: {os.getcwd()}")
218
print()
219
continue
220
+ if user_input == "/clear":
221
+ messages.clear()
222
+ last_reply = None
223
+ print("Conversation history cleared.")
224
+ continue
225
226
if not copilot_token:
227
print("Not authenticated. Type /provider_model first.", file=sys.stderr)
0 commit comments