Skip to content

fix(chat): ensure user prompt is wrapped in a list#1427

Merged
deathbeam merged 1 commit into
CopilotC-Nvim:mainfrom
deathbeam:properly-use-list
Sep 16, 2025
Merged

fix(chat): ensure user prompt is wrapped in a list#1427
deathbeam merged 1 commit into
CopilotC-Nvim:mainfrom
deathbeam:properly-use-list

Conversation

@deathbeam
Copy link
Copy Markdown
Collaborator

Previously, the user prompt was not wrapped in a table when initializing the chat history, which could cause issues when the code expects a list of messages. This change ensures the prompt is always provided as a list with the correct structure.

Closes #1426

Previously, the user prompt was not wrapped in a table when initializing
the chat history, which could cause issues when the code expects a list
of messages. This change ensures the prompt is always provided as a list
with the correct structure.

Closes CopilotC-Nvim#1426
@deathbeam deathbeam merged commit 92dceb4 into CopilotC-Nvim:main Sep 16, 2025
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] not using prompt in headless mode?

1 participant