(localPath: string)
| 162 | } |
| 163 | |
| 164 | export async function resolveAttachmentPathForAI(localPath: string): Promise<string> { |
| 165 | const targetPath = await resolveAttachmentPath(localPath) |
| 166 | if (!(await pathExists(targetPath))) { |
| 167 | throw new Error(`Attachment not found: ${localPath}`) |
| 168 | } |
| 169 | |
| 170 | return targetPath |
| 171 | } |
no test coverage detected