feat(codex): retain all tool items and expose bounded command output
This commit is contained in:
@@ -51,6 +51,7 @@ func modelTestChat(t *testing.T, handle func(string, json.RawMessage) any) *Chat
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
conn.SetReadLimit(16 << 20) // Match the real App Server adapter's frame bound.
|
||||
c := &Chat{conn: conn, ctx: ctx, cancel: cancel, pending: map[string]chan rpcResponse{}, subs: map[string]map[chan protocol.ChatEventFrame]struct{}{}, forms: map[string]pendingForm{}, turns: map[string]string{}, emitted: map[string]bool{}}
|
||||
go c.readLoop()
|
||||
t.Cleanup(func() { c.Close(); srv.Close() })
|
||||
|
||||
Reference in New Issue
Block a user