Buckets:

download
raw
494 Bytes
import chainlit as cl
def tool_3():
with cl.Step(name="tool3", type="tool") as s:
cl.run_sync(cl.sleep(2))
s.output = "Response from tool 3"
@cl.step(name="tool2", type="tool")
def tool_2():
tool_3()
cl.run_sync(cl.Message(content="Message from tool 2").send())
return "Response from tool 2"
@cl.step(name="tool1", type="tool")
def tool_1():
tool_2()
return "Response from tool 1"
@cl.on_message
async def main(message: cl.Message):
tool_1()

Xet Storage Details

Size:
494 Bytes
·
Xet hash:
54ff813e72ddba9ab4ecc58d47b135c5c1c4097c8ef40c6dee76bb086c85608f

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.