X-Git-Url: https://git.giacomolli.uk/onechat/blobdiff_plain/1c1771140063b1b4aa5d508ced1b285e773fce04..6f7eda727e519ae43d7d35195cbe412a2725abd7:/responses_test.go diff --git a/responses_test.go b/responses_test.go index c1a7b4d..577e611 100644 --- a/responses_test.go +++ b/responses_test.go @@ -102,6 +102,7 @@ func TestClientRecordsEachCall(t *testing.T) { w.Header().Set("X-Codex-Primary-Used-Percent", "12") w.Header().Set("X-Codex-Plan-Type", "plus") w.Header().Set("X-Other", "not quota") + w.Header().Set("X-Codex-Turn-State", "opaque state") if call.number == 1 { w.WriteHeader(http.StatusTooManyRequests) _, _ = io.WriteString(w, `{"detail": "slow down"}`)