Enter context mode to see surrounding code context. If no prompt provided, switches to context mode.
(self, args)
| 1182 | return self._generic_chat_command(args, "architect") |
| 1183 | |
| 1184 | def cmd_context(self, args): |
| 1185 | """Enter context mode to see surrounding code context. If no prompt provided, switches to context mode.""" # noqa |
| 1186 | return self._generic_chat_command(args, "context", placeholder=args.strip() or None) |
| 1187 | |
| 1188 | def _generic_chat_command(self, args, edit_format, placeholder=None): |
| 1189 | if not args.strip(): |
nothing calls this directly
no test coverage detected