We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a5ad9e4 commit 35dc00aCopy full SHA for 35dc00a
1 file changed
src/openai/transport.ts
@@ -523,7 +523,12 @@ export class OpenAITransport implements Transport {
523
// Generate content from structuredContent if not provided
524
content = Array.isArray(result.content)
525
? result.content
526
- : [{ type: "text", text: JSON.stringify(result.structuredContent) }];
+ : [
527
+ {
528
+ type: "text",
529
+ text: JSON.stringify(result.structuredContent),
530
+ },
531
+ ];
532
} else if (Array.isArray(result.content)) {
533
content = result.content;
534
} else {
0 commit comments