-
-
Notifications
You must be signed in to change notification settings - Fork 8
paste truncated output in non pravite chats #87
Conversation
Thanks for the PR and review, and sorry for the delay. I would like not to include this feature for several reasons. First of all, the eval bot is mainly for small quick demonstration / experiment within Telegram, and most of its features are designed with that in mind (e.g. more comprehensive prelude, adaptive template, Unicode auto-replacement). For these purposes, it should be very rare that one would need to produce a long result, and the truncation is put there mostly as a measure to restrict incidental or malicious bombing in group chat. For other purposes, it should generally be easier to manage through other approach, e.g. using the playground directly or cargo-play. In addition, this enables persisting user-generated information on an external service via this bot, which can be undesirable on its own for reasons including:
Furthermore, the extra request to a separate service and relying on its functioning to work properly can have negative impact for reliability and responsiveness of the bot itself. It might not be a big issue itself given it doesn't serve the main use case, though. Given the reasons above, I'm going to close this PR. We can discuss about alternatives for #86 if you have concrete examples in mind that may benefit from such features, and doesn't have issues above, especially around persistence of user-generated information. |
fix #86, naive implementation