chore: generate

This commit is contained in:
opencode-agent[bot]
2026-05-25 15:26:53 +00:00
parent 7a5a997173
commit d18eab5b85
+5 -1
View File
@@ -137,7 +137,11 @@ function resourceLinkToPart(link: ResourceLink): PromptPart {
return { type: "text", text: parsed.text } return { type: "text", text: parsed.text }
} }
function uriToFilePart(uri: string, mime: string, filename?: string): MessageV2.FilePartInput | MessageV2.TextPartInput { function uriToFilePart(
uri: string,
mime: string,
filename?: string,
): MessageV2.FilePartInput | MessageV2.TextPartInput {
try { try {
if (uri.startsWith("file://")) { if (uri.startsWith("file://")) {
return { return {