Skip to content

Commit b0f83a3

Browse files
committed
Minor improvements
1 parent e994cea commit b0f83a3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

eca-chat.el

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -522,8 +522,7 @@ This is similar to `backward-delete-char' but protects the prompt/context line."
522522
"\n\n")))
523523
("mcpToolCall" (let ((name (plist-get content :name)))
524524
(eca-chat--add-text
525-
(format (propertize "\n%s %s\n"
526-
'line-spacing 10)
525+
(format (propertize "\n%s %s\n")
527526
(propertize "Calling MCP tool"
528527
'line-prefix (propertize eca-chat-prompt-prefix 'font-lock-face 'eca-chat-mcp-tool-call-face)
529528
'font-lock-face 'eca-chat-mcp-tool-call-face)

eca.el

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ If not provided, download and start eca automatically."
275275
:name "eca"
276276
:command (eca--server-command)
277277
:buffer eca--process-buffer-name
278-
:stderr (get-buffer-create (generate-new-buffer-name eca--process-stderr-buffer-name))
278+
:stderr (get-buffer-create eca--process-stderr-buffer-name)
279279
:filter #'eca--process-filter
280280
:sentinel (lambda (process exit-str)
281281
(unless (process-live-p process)
@@ -314,7 +314,8 @@ If not provided, download and start eca automatically."
314314
(setf (eca--session-chat-default-behavior eca--session) chat-default-behavior)
315315
(eca-info "Started!")
316316
(eca-chat-open)
317-
(run-hooks 'eca-after-initialize-hook)))))
317+
(run-hooks 'eca-after-initialize-hook))
318+
:error-callback (lambda (e) (eca-error e)))))
318319
('started (eca-chat-open))))
319320

320321
;;;###autoload

0 commit comments

Comments
 (0)