We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b6ab213 commit 1f94652Copy full SHA for 1f94652
backend/src/websockets/websocket-action.ts
@@ -224,6 +224,8 @@ export const callMainPrompt = async (
224
chunk: {
225
type: 'start',
226
agentId: action.sessionState.mainAgentState.agentType ?? undefined,
227
+ messageHistoryLength:
228
+ action.sessionState.mainAgentState.messageHistory.length,
229
},
230
})
231
common/src/types/print-mode.ts
@@ -5,6 +5,7 @@ import { toolResultOutputSchema } from './messages/content-part'
5
export const printModeStartSchema = z.object({
6
type: z.literal('start'),
7
agentId: z.string().optional(),
8
+ messageHistoryLength: z.number(),
9
10
export type PrintModeStart = z.infer<typeof printModeStartSchema>
11
0 commit comments