Skip to content

Toggle off display of prompts sent on each request #1300

@ruicsh

Description

@ruicsh

hey,

I have a bunch of prompts that get automatically added to any chat session based on the source buffer filetype and action chosen by keymaps. For example, it can be:

> /react
> /aggrid
> /fix

each of these are custom prompts I load from files on my nvim's config. Each prompt is around 3 or 4 paragraphs of text. With this new version of CopilotChat, the contents of these prompts get displayed on the chat buffer. I understand the idea: it's transparent what is really being sent down with the request. But, it gets repetitive to always see the same blob of text (my loaded sticky prompts) on the chat buffer and having to scroll down to see the actual info you're looking for - the LLMs response. For me, the repeated full text prompts are kind of useless info - I just want to make sure they are added to the request, seeing the sticky prompts headers is enough.

Would it be possible to toggle this display off? Either by a static config option or a parameter into chat.open or chat.ask?

Cheers

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions