Skip to content

Commit

Permalink
Update model.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ThisIs-Developer authored Jan 11, 2024
1 parent 116b9f9 commit 0138ee1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion model.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ async def main(message):
stream_final_answer=True, answer_prefix_tokens=["FINAL", "ANSWER"]
)
cb.answer_reached = True
res = await chain.acall(message, callbacks=[cb])
res = await chain.acall(message.content, callbacks=[cb])
answer = res["result"]
sources = res["source_documents"]

Expand Down

0 comments on commit 0138ee1

Please sign in to comment.