Skip to content

Commit b4dc8a3

Browse files
committed
Fix mcp usage
1 parent d6f241e commit b4dc8a3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Unreleased
44

5-
- Add env support for mcps
5+
- Add env support for MCPs
66
- Add web_search capability
77
- Add `o3` model support.
88

src/eca/features/chat.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@
102102
chosen-model (or model (default-model db))
103103
past-messages (get-in db [:chats chat-id :messages] [])
104104
user-prompt message
105-
mcp-tools (when (get-in db [:models chosen-model :use-tools])
105+
mcp-tools (when (get-in db [:models chosen-model :mcp-tools])
106106
(all-mcp-tools! chat-id request-id messenger db*))
107107
received-msgs* (atom "")]
108108
(swap! db* update-in [:chats chat-id :messages] (fnil conj []) {:role "user" :content user-prompt})

0 commit comments

Comments
 (0)