File tree Expand file tree Collapse file tree 3 files changed +10
-7
lines changed
integration-test/integration Expand file tree Collapse file tree 3 files changed +10
-7
lines changed Original file line number Diff line number Diff line change 3434docs /README.md
3535docs /CHANGELOG.md
3636docs /images /
37+
38+ integration-test /stderr.txt
Original file line number Diff line number Diff line change 130130 (let [req-id 0
131131 resp (eca/request! (fixture/chat-prompt-request
132132 {:request-id req-id
133- :model " gpt-5"
133+ :model " openai/ gpt-5"
134134 :message " hello!" }))
135135 chat-id (reset! chat-id* (:chatId resp))]
136136
137137 (is (match?
138138 {:chatId (m/pred string?)
139- :model " gpt-5"
139+ :model " openai/ gpt-5"
140140 :status " success" }
141141 resp))
142142
167167 resp (eca/request! (fixture/chat-prompt-request
168168 {:request-id req-id
169169 :chat-id @chat-id*
170- :model " gpt-5"
170+ :model " openai/ gpt-5"
171171 :message " how are you?" }))
172172 chat-id @chat-id*]
173173
174174 (is (match?
175175 {:chatId (m/pred string?)
176- :model " gpt-5"
176+ :model " openai/ gpt-5"
177177 :status " success" }
178178 resp))
179179
215215 (let [req-id 0
216216 resp (eca/request! (fixture/chat-prompt-request
217217 {:request-id req-id
218- :model " gpt-5"
218+ :model " openai/ gpt-5"
219219 :message " What files you see?" }))
220220 chat-id (reset! chat-id* (:chatId resp))]
221221
222222 (is (match?
223223 {:chatId (m/pred string?)
224- :model " gpt-5"
224+ :model " openai/ gpt-5"
225225 :status " success" }
226226 resp))
227227
Original file line number Diff line number Diff line change 1616 (start-server binary []))
1717 ([binary args]
1818 (p/process (into [(.getCanonicalPath (io/file binary)) " server" " --log-level" " debug" ] args)
19- {:dir " integration-test/sample-test/" })))
19+ {:err (io/file (.getParent (io/file *eca-binary-path*)) " integration-test" " stderr.txt" )
20+ :dir " integration-test/sample-test/" })))
2021
2122(defn start-process! []
2223 (let [server (start-server *eca-binary-path*)
You can’t perform that action at this time.
0 commit comments