Skip to content

Commit

Permalink
Update sources limit in SlackChatApp class
Browse files Browse the repository at this point in the history
  • Loading branch information
StanGirard committed Apr 22, 2024
1 parent 48ebf97 commit 92193a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ def handle_iteractive_request(self, payload):
)
if "metadata" in question_response:
if "sources" in question_response["metadata"]:
sources = question_response["metadata"]["sources"]
sources = question_response["metadata"]["sources"][:3]
source_text = "\n".join(
[
f"- <{source['source_url']}|{source['name']}>"
Expand Down

0 comments on commit 92193a0

Please sign in to comment.