Skip to content

Commit

Permalink
fix deduplication logic
Browse files Browse the repository at this point in the history
  • Loading branch information
rndmcnlly committed Nov 1, 2024
1 parent 8acba9a commit 936936b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/github_api_filter.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def inlet(self, body, user=None, __event_emitter__=None):
expanded_messages.append(message)
if message["role"] == "assistant":
for route in re.findall(github_command_pattern, message["content"]):
if already_fetched:
if route in already_fetched:
expanded_messages.append(
{
"role": "system",
Expand Down

0 comments on commit 936936b

Please sign in to comment.