Skip to content

Commit 3eaf2e7

Browse files
committed
Fix exception when stopping while a subagent chat runsi
1 parent b97fad3 commit 3eaf2e7

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
- Fix remote server on Windows stealing TLS traffic from Tailscale/WireGuard when using the same port, by binding to specific interfaces instead of `0.0.0.0` when tunnel adapters are detected.
66
- Fix plugin-defined hooks not firing for `chatStart` and `sessionStart` due to plugins resolving after hooks fired. #374
77
- Fix workspace cache resume when worktrees are dynamically added mid-session by using the initial workspace set for the cache key. #372
8+
- Fix exception when stopping while a subagent chat run.
89

910
## 0.117.0
1011

src/eca/features/chat.clj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1029,7 +1029,8 @@
10291029
(let [chat-ctx {:chat-id chat-id
10301030
:db* db*
10311031
:metrics metrics
1032-
:messenger messenger}]
1032+
:messenger messenger
1033+
:parent-chat-id (get-in @db* [:chats chat-id :parent-chat-id])}]
10331034
(lifecycle/send-content! chat-ctx :system {:type :text
10341035
:text "\nPrompt stopped"})
10351036

0 commit comments

Comments
 (0)