We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent de7e6c2 commit dc7259aCopy full SHA for dc7259a
1 file changed
backend/src/run-agent-step.ts
@@ -449,10 +449,7 @@ export const loopAgentSteps = async (
449
450
// Build the initial message history with user prompt and instructions
451
const initialMessages = buildArray<Message>(
452
- agentState.messageHistory.map((m) => ({
453
- ...m,
454
- keepDuringTruncation: false,
455
- })),
+ ...agentState.messageHistory,
456
457
hasPrompt && [
458
{
0 commit comments