Kazuhiro Sera
Kazuhiro Sera
Thanks for clarifying this. Probably, I got the point but I am still not so convinced to have such a change in this repo (this issue does not sound critical...
Before switching to the streaming mode, the "usage" property existed in the OpenAI response. However, it seems that OpenAI API does not return "usage" data for streaming chunks. So, we...
Hi @abhinavsharma, thanks for sharing this! However, I want to keep the configuration modal UI as simple as possible. So, I would like to hold off adding this input for...
Hi @abhinavsharma, thanks for reporting this! Quick question: Are you using main_prod.py as-is or have you customized some parts of that? Especially I am curious if you're using secure parameter...
Hi @gnuser, thanks for the suggestion! I am open to having the capability in the long run. To implement this, upgrading the OpenAI package to the latest version might be...
Hi @gabewillen, thanks for the suggestion! I still don't fully understand why you think this is beneficial. Let me ask a few questions: > when using handlers in a persistent...
Thanks for sharing the details. For your needs, I would suggest adding a simple if/else statement to the SlackApp initialization process as shown below: ```typescript export default { async fetch(...
Forgot to mention this: If I understand correctly, an edge function is stateless in general, though there may be runtime initialization cache. Thus, initializing `SlackApp` for each request should be...
>Durable objects are stateful and thus don't succumb to the same initialization processes. In essence you can create a durable id from a users slack id and they have their...
Also, I believe that registering handlers itself never costs a lot in terms of resource consumption (in comparison with others like DA data lookup etc.). But if such a small...