import chainlit as clcommands =[{"id":"Picture","icon":"image","description":"Use DALL-E"},{"id":"Search","icon":"globe","description":"Find on the web"},{"id":"Canvas","icon":"pen-line","description":"Collaborate on writing and code",},]@cl.on_chat_startasyncdefstart():await cl.context.emitter.set_commands(commands)@cl.on_messageasyncdefmessage(msg: cl.Message):if msg.command =="Picture":# User is using the Picture commandpasspass