Requests kept and replayed: keys requests per project with retention and a share, ctl request --body and --replay
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
841ee21c12
commit
32ff1dbd6f
22 files changed
+757
-10
No files matched your search
@@ -221,7 +221,7 @@ const maxStoredReply = 128 << 10
|
||||
// Zero for every request not continuing a conversation, which is what keeps
|
||||
// the cost of this feature off the path of requests that do not use it.
|
||||
func (p *parsedRequest) captureBytes() int {
|
||||
if p.ThreadID == "" || p.noStore {
|
||||
if p.ThreadID == "" && p.logRetain <= 0 || p.noStore {
|
||||
return 0
|
||||
}
|
||||
return maxStoredReply
|
||||
|
||||
Reference in new issue
Block a user