Release v0.18.6

This commit is contained in:
Mario Zechner
2025-12-12 10:53:53 +01:00
parent e26058a21c
commit dba2674681
13 changed files with 57 additions and 45 deletions

View File

@@ -588,7 +588,7 @@ function createRunner(sandboxConfig: SandboxConfig, channelId: string, channelDi
// Add attachment paths if any (convert to absolute paths in execution environment)
if (ctx.message.attachments && ctx.message.attachments.length > 0) {
const attachmentPaths = ctx.message.attachments.map((a) => `${workspacePath}/${a.local}`).join("\n");
userMessage += `\n\nAttachments:\n${attachmentPaths}`;
userMessage += `\n\n<slack_attachments>\n${attachmentPaths}\n</slack_attachments>`;
}
// Debug: write context to last_prompt.jsonl