feat: add /context prompt breakdown

This commit is contained in:
Peter Steinberger committed 2026-01-15 01:06:35 +00:00
1 parent 632651aee2
commit bcde09ae91
13 files changed
+587 -1

No files matched your search

+2
View File
@@ -250,6 +250,7 @@ export async function runEmbeddedPiAgent(
provider,
model: model.id,
},
systemPromptReport: attempt.systemPromptReport,
error: { kind, message: errorText },
},
};
@@ -404,6 +405,7 @@ export async function runEmbeddedPiAgent(
durationMs: Date.now() - started,
agentMeta,
aborted,
systemPromptReport: attempt.systemPromptReport,
},
didSendViaMessagingTool: attempt.didSendViaMessagingTool,
messagingToolSentTexts: attempt.messagingToolSentTexts,