Skip to content

Commit df6e044

Browse files
authored
fix structured output (#1389)
1 parent 32ed74b commit df6e044

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

agents-run-api/src/agents/Agent.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3175,8 +3175,8 @@ ${output}${structureHintsFormatted}`;
31753175

31763176
return {
31773177
...response,
3178-
object: structuredResponse.object,
3179-
textResponse: JSON.stringify(structuredResponse.object, null, 2),
3178+
object: structuredResponse.output,
3179+
textResponse: JSON.stringify(structuredResponse.output, null, 2),
31803180
};
31813181
}
31823182

0 commit comments

Comments
 (0)