We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6dabbd7 commit 253d004Copy full SHA for 253d004
1 file changed
lib/messages/inject.ts
@@ -123,6 +123,7 @@ const shouldInjectCompressNudge = (
123
const hasDcpTool = parts.some(
124
(part) =>
125
part.type === "tool" &&
126
+ part.state.status === "completed" &&
127
(part.tool === "compress" || part.tool === "prune" || part.tool === "distill"),
128
)
129
if (hasDcpTool) {
0 commit comments