refactor(core): remove unused aisdk text helper (#52657)

This commit is contained in:
Kit Langton
2026-10-01 21:05:05 -07:00
committed by GitHub
Unverified
parent 05018b8862
commit f00390665f
-4
View File
@@ -593,10 +593,6 @@ function toolMessage(input: LLMRequest["messages"][number]) {
}
}
function text(part: ContentPart) {
return part.type === "text" ? [part.text] : []
}
function userPart(part: ContentPart): UserContent {
if (part.type === "text") return [{ type: "text", text: part.text }]
if (part.type === "media")