Closed rodonguyen closed 8 months ago
I think the concern regarding long response time from LLM can be resolved by adding await ctx.response.defer()
to tell Discord that "Hey, this function will take longer than 3s to respond, don't timeout it"
Interactions docs:
Example: https://github.com/hc20k/LLMChat/blob/master/llmchat/client.py#L306-L307
Some concerns are: