mirror of
https://github.com/cdryzun/tg_bot_collections.git
synced 2025-07-08 07:56:43 +08:00
chore: UX
Gemini stream only, rest append background to telegraph, with update on answer_it message
This commit is contained in:
@ -136,7 +136,7 @@ def cohere_handler(message: Message, bot: TeleBot) -> None:
|
||||
break
|
||||
content = (
|
||||
s
|
||||
+ "\n------\n------\n"
|
||||
+ "\n\n---\n"
|
||||
+ source
|
||||
+ f"\nLast Update{datetime.datetime.now().strftime('%Y-%m-%d %H:%M:%S')} at UTC+8\n"
|
||||
)
|
||||
@ -146,7 +146,9 @@ def cohere_handler(message: Message, bot: TeleBot) -> None:
|
||||
s += f"\n\n[View]({ph_s})"
|
||||
|
||||
try:
|
||||
bot_reply_markdown(reply_id, who, s, bot, split_text=True)
|
||||
bot_reply_markdown(
|
||||
reply_id, who, s, bot, split_text=True, disable_web_page_preview=True
|
||||
)
|
||||
except:
|
||||
pass
|
||||
|
||||
|
Reference in New Issue
Block a user