Skip to content

Custom Chat participants (formerly agents) such as @workspace #311

Closed

Description

@DRKolev-code

Are there plans to let us create custom Chat Participants (plugins) in the same vein as @buffer and @Buffers? If so would it be feasible to enable them, via a similar mechanism as cmp, as a list of repositories?

Overview: https://code.visualstudio.com/api/extension-guides/chat
VSCode Presentation: https://youtu.be/7PtNKleyHNk?t=1502

Activity

  1. deathbeam commented on May 11, 2024

    @deathbeam
    Collaborator

    I think in this plugin scope it would be custom conext function I think? Even though custom selector also already can be used for same thing. I personally think the nvim-cmp "extension" system is terrible so I would def not want to go that route. For custom selector you can pass custom selection already as function, and I think for context we could do the same.

  2. DRKolev-code commented on May 11, 2024

    @DRKolev-code
    Author

    I think so too. Being able to specify custom contexts would fit. Something like:

    contexts = {
      new_context = {
        -- Maybe it can receive the selection and if there is a parameter in the prompts section, for each prompt, to specify the context for that prompt, it could auto pass the selection the the context's callback function.
        callback =  function(selection) {...},
        -- If the code is online
        url = "",
        description = "",
      }
    }
    

    Would a rename to participants be a good idea?
    Maybe the prompts should have a context/participant field to indicate which to use.

  3. locked and limited conversation to collaborators on May 12, 2024
  4. converted this issue into a discussion #314 on May 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions