(part: FilePart)
| 1 | import type { FilePart } from "@opencode-ai/sdk/v2" |
| 2 | |
| 3 | export function attached(part: FilePart) { |
| 4 | return part.url.startsWith("data:") |
| 5 | } |
| 6 | |
| 7 | export function inline(part: FilePart) { |
| 8 | if (attached(part)) return false |
no outgoing calls
no test coverage detected