Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
willydouhard authored Sep 30, 2024
1 parent dfa858b commit 1d3ffd4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,11 @@ async def main(message: cl.Message):
None.
"""

final_answer = await cl.Message(content="").send()

# Call the tool
final_answer.content = await tool()
tool_res = await tool()

await final_answer.update()
await cl.Message(content=tool_res).send()
```

Now run it!
Expand Down

0 comments on commit 1d3ffd4

Please sign in to comment.