Skip to content

Commit 98d38c3

Browse files
authored
Update openai-format.ts
1 parent 923e391 commit 98d38c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/transform/openai-format.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ export function convertToOpenAiMessages(
8989
}
9090
}
9191
return { type: "text", text: part.text }
92-
}),
92+
}).join("\n") ?? "",
9393
})
9494
}
9595
} else if (anthropicMessage.role === "assistant") {

0 commit comments

Comments
 (0)