Skip to content

Commit 2700ce6

Browse files
committed
Fix user message contexts and file paths not being sent.
Fixes #112
1 parent fb8a974 commit 2700ce6

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,6 @@
77
- Fix: check existing eca sessions when opening chat. #88
88
- Add rewrite feature.
99
- Fix issue with `view_ediff` displaying empty buffers in ediff. #86
10+
- Fix user message contexts and file paths not being sent. #112
1011

1112
# Started tracking since 03/11

eca-chat.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -849,7 +849,7 @@ the prompt/context line."
849849
(when-let ((prompt-start (eca-chat--prompt-field-start-point)))
850850
(save-excursion
851851
(goto-char prompt-start)
852-
(string-trim (buffer-substring-no-properties (point) (point-max))))))
852+
(string-trim (buffer-substring (point) (point-max))))))
853853

854854
(defun eca-chat--send-prompt (session prompt)
855855
"Send PROMPT to server for SESSION."

0 commit comments

Comments
 (0)