Skip to content

Commit bd6d6a6

Browse files
Remove incorrect error message
1 parent 7025618 commit bd6d6a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/prompts.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
(json/parse-string pty-output keyword))]
6464
(if-let [extractor-name (:name container-definition)]
6565
{(keyword extractor-name) context}
66-
context)))))
66+
(if (map? context) context {(or (keyword (:output-handler container-definition)) :extractor) context}))))))
6767
(catch Throwable ex
6868
(jsonrpc/notify
6969
:error

0 commit comments

Comments
 (0)