fix(gateway): hide assistant NO_REPLY token in chat.history#27668
fix(gateway): hide assistant NO_REPLY token in chat.history#27668theotarr wants to merge 3 commits intoopenclaw:mainfrom
Conversation
Greptile SummarySanitized assistant
Confidence Score: 5/5
Last reviewed commit: e223ad2 |
|
Investigated the Windows shard failure and pushed a narrow fix to this PR branch.\n\nRoot cause: mutates ; on CI this can race under concurrent test execution and occasionally make undiscoverable in .\n\nFix: run this test suite sequentially () so env-mutating plugin-loader tests do not interleave.\n\nCommit: 9554dfd\n\nCould you re-run the failed Windows checks? |
|
Correction with full details:\n\nInvestigated the Windows shard failure and pushed a narrow fix to this PR branch.\n\nRoot cause: |
Summary
chat.historyassistant text fields to strip silent-token-onlyNO_REPLYcontenttext, and text content-block forms after directive strippingNO_REPLYis hidden while userNO_REPLYremains unchangedTesting
pnpm vitest run --config vitest.gateway.config.ts src/gateway/server.chat.gateway-server-chat-b.test.ts src/gateway/server-chat.agent-events.test.tspnpm vitest run --config vitest.gateway.config.ts src/gateway/server.chat.gateway-server-chat.test.tsFixes #27238