Tags: duboisf/CopilotChat.nvim
Tags
refactor: reorder role first in prompts Change the structure of COPILOT_EXPLAIN and COPILOT_REVIEW prompts to lead with the role description before adding the base instructions. This makes the AI's role more prominent in the prompt and potentially improves response quality.
refactor: move embedding cache to context module Move embedding cache functionality from client to context module to improve separation of concerns and code organization. The cache is now maintained in the context module which is more appropriate since it deals with context management. This change simplifies the client module by removing the embedding cache responsibility while maintaining the same caching functionality in a more logical location. Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
docs: add unlimitedsola as a contributor for doc, and code (CopilotC-… …Nvim#803) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
feat: Report early stop reason to the UI The Copilot API returns a `finish_reason` field that indicates why the response stopped. This commit adds this information to the UI, so the user knows why the response stopped. If the reason is `stop`, it means that the response was finished normally, so we don't need to show any message.
docs: add abdennourzahaf as a contributor for doc (CopilotC-Nvim#689) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
fix: correct chat config handling When opening chat and asking questions, ensure proper config inheritance by deep extending chat state config with provided config and global config. Also move config handling before early returns to maintain consistency. Closes CopilotC-Nvim#676 Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
PreviousNext