mirror of
https://github.com/openai/codex.git
synced 2026-04-24 14:45:27 +00:00
Actually mount sse once (#4264)
Mock server was responding with the same result many times.
This commit is contained in:
@@ -122,6 +122,7 @@ where
|
||||
.and(path("/v1/responses"))
|
||||
.and(matcher)
|
||||
.respond_with(sse_response(body))
|
||||
.up_to_n_times(1)
|
||||
.mount(server)
|
||||
.await;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user