core: do not add entities to batched agent errors (#6351)

This commit is contained in:
Evgeny
2025-10-10 13:54:19 +01:00
committed by GitHub
parent ad12f840f1
commit e291a71ef3
8 changed files with 35 additions and 39 deletions
+1 -1
View File
@@ -531,7 +531,7 @@ handleRemoteCommand execCC encryption remoteOutputQ HTTP2Request {request, reqBo
Left e -> eToView' $ ChatErrorRemoteCtrl $ RCEProtocolError e
takeRCStep :: RCStepTMVar a -> CM a
takeRCStep = liftError' (\e -> ChatErrorAgent {agentError = RCP e, connectionEntity_ = Nothing}) . atomically . takeTMVar
takeRCStep = liftError' (\e -> ChatErrorAgent {agentError = RCP e, agentConnId = AgentConnId "", connectionEntity_ = Nothing}) . atomically . takeTMVar
type GetChunk = Int -> IO ByteString