limits: raise message body cap 1k → 4k (catches ~95% of conversational overflow)

This commit is contained in:
damocles 2026-05-17 22:12:23 +02:00
parent 0adce04a04
commit 15f141801b
5 changed files with 22 additions and 21 deletions

View file

@ -178,7 +178,7 @@ async fn dispatch(req: &AgentRequest, agent: &str, coord: &Arc<Coordinator>) ->
}
/// Common Send handler shared between dispatch arms. Applies the
/// 1 KiB body cap, then routes broadcast (`to == "*"`) vs unicast
/// 4 KiB body cap, then routes broadcast (`to == "*"`) vs unicast
/// through their respective broker calls. Pulled out of `dispatch`
/// to keep that function under the clippy too-many-lines limit; the
/// behaviour is identical to inlining.