Skip to content

Commit b7f1f5d

Browse files
committed
Fix tests
1 parent 2361718 commit b7f1f5d

2 files changed

Lines changed: 3 additions & 5 deletions

File tree

test/eca/features/tools/agent_test.clj

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -583,10 +583,7 @@
583583
:properties {"agent" {:type "string"}
584584
"task" {:type "string"}
585585
"activity" {:type "string"}
586-
"model" {:type "string"
587-
:enum ["anthropic/claude-opus-4-6"
588-
"anthropic/claude-sonnet-4-6"
589-
"openai/gpt-4.1"]}
586+
"model" {:type "string"}
590587
"variant" {:type "string"
591588
:enum ["high" "low" "max" "medium"]}}
592589
:required ["agent" "task" "activity"]}

test/eca/remote/handlers_test.clj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@
4343

4444
(testing "returns chats excluding subagents"
4545
(swap! (h/db*) assoc :chats {"c1" {:id "c1" :title "Test" :status :idle :created-at 123}
46-
"c2" {:id "c2" :title "Sub" :status :running :subagent true}})
46+
"c2" {:id "c2" :title "Sub" :status :running :subagent true}}
47+
:chat-start-fired #{"c1" "c2"})
4748
(let [response (handlers/handle-list-chats (components) nil)
4849
body (json/parse-string (:body response) true)]
4950
(is (= 1 (count body)))

0 commit comments

Comments
 (0)