What is keybind that moves selected code into ai chat (agent)

I now have keybind like this:

  {
    "key": "ctrl+;",
    "command": "aichat.insertselectionintochat"
  },

This lets me move selected code into the chat of cursor as context.

I need the same keybind but to move it to agent chat instead.

How to do this?

Its the same tool now. Chat is the name of the panel. and it contains Agent/Ask/Edit and you can switch between those.

ok it was this what i needed

1 Like