diff --git a/aider/commands.py b/aider/commands.py index ab7b4d934..13f267a12 100644 --- a/aider/commands.py +++ b/aider/commands.py @@ -1061,18 +1061,15 @@ class Commands: ) def cmd_ask(self, args): - """Ask questions about the code base without editing any files. - If no prompt is provided, switches to ask mode.""" + """Ask questions about the code base without editing any files. If no prompt provided, switches to ask mode.""" # noqa return self._generic_chat_command(args, "ask") def cmd_code(self, args): - """Ask for changes to your code. - If no prompt is provided, switches to code mode.""" + """Ask for changes to your code. If no prompt provided, switches to code mode.""" # noqa return self._generic_chat_command(args, self.coder.main_model.edit_format) def cmd_architect(self, args): - """Enter architect mode to discuss high-level design and architecture. - If no prompt is provided, switches to architect mode.""" + """Enter architect mode to discuss high-level design and architecture. If no prompt provided, switches to architect mode.""" # noqa return self._generic_chat_command(args, "architect") def _generic_chat_command(self, args, edit_format): diff --git a/aider/website/assets/sample-analytics.jsonl b/aider/website/assets/sample-analytics.jsonl index 2b58abdcb..c269c5dbe 100644 --- a/aider/website/assets/sample-analytics.jsonl +++ b/aider/website/assets/sample-analytics.jsonl @@ -1,6 +1,3 @@ -{"event": "launched", "properties": {}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1736270699} -{"event": "no-repo", "properties": {}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1736270700} -{"event": "message_send_starting", "properties": {}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1736270700} {"event": "no-repo", "properties": {}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1736270701} {"event": "message_send_starting", "properties": {}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1736270701} {"event": "exit", "properties": {"reason": "Completed --message"}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1736270730} @@ -998,3 +995,6 @@ {"event": "launched", "properties": {}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1736550079} {"event": "gui session", "properties": {}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1736550079} {"event": "exit", "properties": {"reason": "GUI session ended"}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1736550079} +{"event": "launched", "properties": {}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1736550370} +{"event": "gui session", "properties": {}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1736550370} +{"event": "exit", "properties": {"reason": "GUI session ended"}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1736550370} diff --git a/aider/website/docs/usage/commands.md b/aider/website/docs/usage/commands.md index 8b400f908..9d2e13a81 100644 --- a/aider/website/docs/usage/commands.md +++ b/aider/website/docs/usage/commands.md @@ -22,14 +22,11 @@ cog.out(get_help_md()) |Command|Description| |:------|:----------| | **/add** | Add files to the chat so aider can edit them or review them in detail | -| **/architect** | Enter architect mode to discuss high-level design and architecture. - If no prompt is provided, switches to architect mode. | -| **/ask** | Ask questions about the code base without editing any files. - If no prompt is provided, switches to ask mode. | +| **/architect** | Enter architect mode to discuss high-level design and architecture. If no prompt provided, switches to architect mode. | +| **/ask** | Ask questions about the code base without editing any files. If no prompt provided, switches to ask mode. | | **/chat-mode** | Switch to a new chat mode | | **/clear** | Clear the chat history | -| **/code** | Ask for changes to your code. - If no prompt is provided, switches to code mode. | +| **/code** | Ask for changes to your code. If no prompt provided, switches to code mode. | | **/commit** | Commit edits to the repo made outside the chat (commit message optional) | | **/copy** | Copy the last assistant message to the clipboard | | **/copy-context** | Copy the current chat context as markdown, suitable to paste into a web UI |