Skip to content

Commit 3accd7f

Browse files
feat: use citation dictionary
1 parent 6b743b7 commit 3accd7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/slackBotFunction/app/slack/slack_events.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,12 +159,12 @@ def _create_feedback_blocks(
159159

160160
# Main response block
161161
blocks = []
162+
action_buttons = []
162163

163164
# Create citation buttons
164165
if citations is None or len(citations) == 0:
165166
logger.info("No citations")
166167
else:
167-
action_buttons = []
168168
for i, citation in enumerate(citations):
169169
logger.info("Creating citation", extra={"Citation": citation})
170170
# Create citation blocks

0 commit comments

Comments
 (0)