refactor instructions to return object with full/system/user/event/runtime properties, fix duplicate modes and json prompt extraction (#110)

This commit is contained in:
Colin McDonnell
2026-01-16 21:43:54 +00:00
committed by pullfrog[bot]
parent 410b11db71
commit cb925556e8
16 changed files with 1843 additions and 1952 deletions
+1 -1
View File
@@ -129,7 +129,7 @@ export const codex = agent({
const thread = codex.startThread(threadOptions);
try {
const streamedTurn = await thread.runStreamed(ctx.instructions);
const streamedTurn = await thread.runStreamed(ctx.instructions.full);
let finalOutput = "";
for await (const event of streamedTurn.events) {