Closed ShrirajHegde closed 11 months ago
Thanks for the PR!
I created new branch for debugging and testing: dev
.
/getcontext
will be moved there.
Debugging can also be useful while in regular use, not just development. Because it's not very obvious of what the chat context is just by seeing the chat history on telegram.
0376c52 also has the changes for response as reply to the message.
I don't think maintaining branches like this will be practical. Instead, you should use python logging module and use the logging levels along with an environmental variable like LOG_LEVEL
. This way it can be easily set in env file.
Two different branches diverge unexpectedly and create a merge conflict very soon, which will be a huge problem. Dev branch is not for dev purposes like this, instead it is the changes 'in development'.
/getcontext
command for debugginghandle_message