mirror of
https://github.com/anomalyco/opencode.git
synced 2026-11-13 01:31:22 +03:00
refactor(core): remove unused aisdk text helper (#52657)
This commit is contained in:
committed by
GitHub
Unverified
parent
05018b8862
commit
f00390665f
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user