MCPcopy
hub / github.com/Aider-AI/aider / cmd_context

Method cmd_context

aider/commands.py:1184–1186  ·  view source on GitHub ↗

Enter context mode to see surrounding code context. If no prompt provided, switches to context mode.

(self, args)

Source from the content-addressed store, hash-verified

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():

Callers

nothing calls this directly

Calls 1

_generic_chat_commandMethod · 0.95

Tested by

no test coverage detected