From b5b8e798992fe2eeefb753ec2a12d7bf35f79a9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A0=20Arrufat?= Date: Tue, 7 Apr 2026 07:32:47 +0200 Subject: [PATCH] Config: support agent mode in wsMaxConcurrent --- src/Config.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Config.zig b/src/Config.zig index 41f80994..7861422d 100644 --- a/src/Config.zig +++ b/src/Config.zig @@ -131,7 +131,7 @@ pub fn httpMaxResponseSize(self: *const Config) ?usize { pub fn wsMaxConcurrent(self: *const Config) u8 { return switch (self.mode) { - inline .serve, .fetch, .mcp => |opts| opts.common.ws_max_concurrent orelse 8, + inline .serve, .fetch, .mcp, .agent => |opts| opts.common.ws_max_concurrent orelse 8, else => unreachable, }; }