Skip to content
This repository was archived by the owner on Jul 22, 2025. It is now read-only.

Commit 2e434db

Browse files
committed
FIX: Make sure prompt uploads get included in the prompt when triaging
1 parent a552167 commit 2e434db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/automation/llm_triage.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def self.handle(
3232

3333
content = llm.tokenizer.truncate(content, max_post_tokens) if max_post_tokens.present?
3434

35-
prompt.push(type: :user, content: content)
35+
prompt.push(type: :user, content: content, upload_ids: post.upload_ids)
3636

3737
result = nil
3838

0 commit comments

Comments
 (0)