Every agent's model. One place. Codex on DeepSeek, Claude Code on Kimi, from the menu bar.
gateway tests: TestMarshalBodyAllocatesTwoBodies skips under -race, where sync.Pool lets go
yetoned3f3f3381128
diff --git a/internal/gateway/marshal_body_test.go b/internal/gateway/marshal_body_test.goindex 5ceb81270..5b3b11d2b 100644--- a/internal/gateway/marshal_body_test.go+++ b/internal/gateway/marshal_body_test.go@@ -53,6 +53,9 @@ func TestMarshalBodyIsJSONMarshal(t *testing.T) {// and its items: json.Marshal's doubling buffer took it from 45 to 316// MiB (#4004).func TestMarshalBodyAllocatesTwoBodies(t *testing.T) {+ if raceOn {+ t.Skip("under -race sync.Pool drops what json.Marshal's encoders keep, so each item allocates afresh")+ }big := strings.Repeat("tool output line\n", 1<<14)msgs := make([]any, 0, 170)for range 170 {