(channelId: string)
| 959 | `[PackAgent] Passing ${imageAttachments.length} image(s) to LLM`, |
| 960 | ); |
| 961 | } |
| 962 | |
| 963 | // Non-images → text description prepended to prompt |
| 964 | if (nonImageAttachments.length > 0) { |
| 965 | const attachmentPrompt = |
| 966 | formatAttachmentsPrompt(nonImageAttachments); |
| 967 | promptText = `${attachmentPrompt}\n\n${text}`; |
| 968 | log( |
| 969 | `[PackAgent] Injecting ${nonImageAttachments.length} non-image attachment(s) into prompt`, |
| 970 | ); |