Skip to content

Commit

Permalink
Merge pull request #131 from bioimage-io/fix-chatlogs-details
Browse files Browse the repository at this point in the history
Add step details for chatlogs
  • Loading branch information
alalulu8668 authored Jun 2, 2024
2 parents 1803c1c + e58b5e6 commit 1eee0c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bioimageio_chatbot/chatbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ async def stream_callback(message):
{"role": "user", "content": user_message.question}
)
user_message.chat_history.append(
{"role": "assistant", "content": response.text}
{"role": "assistant", "content": response.text, "steps": [step.dict() for step in response.steps]}
)
version = pkg_resources.get_distribution("bioimageio-chatbot").version
chat_his_dict = {
Expand Down

0 comments on commit 1eee0c4

Please sign in to comment.