Commit 92dceb4
authored
fix(chat): ensure user prompt is wrapped in a list (CopilotC-Nvim#1427)
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#14261 parent 9a63e83 commit 92dceb4
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
894 | 894 | | |
895 | 895 | | |
896 | 896 | | |
897 | | - | |
898 | | - | |
| 897 | + | |
| 898 | + | |
| 899 | + | |
| 900 | + | |
899 | 901 | | |
900 | 902 | | |
901 | 903 | | |
| |||
0 commit comments