0b60ae2fbe 
					 
					
						
						
							
							feat: add summary and search commands ( #54 )  
						
						 
						
						... 
						
						
						
						* feat: add summary and search commands
Signed-off-by: Frost Ming <me@frostming.com >
* fix formats
Signed-off-by: Frost Ming <me@frostming.com >
* fix: clean up
Signed-off-by: Frost Ming <me@frostming.com > 
						
						
					 
					
						2025-07-08 11:41:57 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						b1e52c7e18 
					 
					
						
						
							
							chore: ph/appends run first within threadpool  
						
						 
						
						... 
						
						
						
						- Display and submit backgrounded APPENDS first
- Then stream answers run 
						
						
					 
					
						2024-07-15 06:37:35 -04:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						d0494a9372 
					 
					
						
						
							
							fix: remove command prefix from messages  
						
						 
						
						
						
						
					 
					
						2024-07-11 11:51:10 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						b66c9ac136 
					 
					
						
						
							
							fix: update image_to_data_uri to use dynamic content type  
						
						 
						
						
						
						
					 
					
						2024-07-10 20:37:45 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						5d8e0c9221 
					 
					
						
						
							
							Enhance answer_it_handler to process image message. support gpt and gemini  
						
						 
						
						
						
						
					 
					
						2024-07-10 20:37:45 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						f524af9b36 
					 
					
						
						
							
							add image upload function to TelegraphAPI  
						
						 
						
						
						
						
					 
					
						2024-07-10 20:37:45 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						1909e95cd6 
					 
					
						
						
							
							fix: wrong answer  
						
						 
						
						... 
						
						
						
						Signed-off-by: yihong0618 <zouzou0208@gmail.com > 
						
						
					 
					
						2024-07-10 19:16:25 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						3f1ca37e53 
					 
					
						
						
							
							Add priority attribute to handler, sort and load handler by priority.  
						
						 
						
						... 
						
						
						
						- Set a low load priority in handlers/useful.py to ensure it loads last. (ensure
  'latest_handle_messages' registered last to prevent other commands from failing.) 
						
						
					 
					
						2024-07-09 23:38:40 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						6fede9e506 
					 
					
						
						
							
							feat: answer_it UX  
						
						 
						
						... 
						
						
						
						- feat: skip if message too long (most time from link process)
- feat: modifiable ${Hint} for guide user use "Try /answer_it" in bot message
- feat: return something else if telegra.ph create page fail
- chore: prompt for answer_it
formatting
prompt 
						
						
					 
					
						2024-07-04 09:21:10 -04:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						8a61b9d40b 
					 
					
						
						
							
							fix: telegraph  
						
						 
						
						
						
						
					 
					
						2024-07-03 13:30:24 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						15404d91a3 
					 
					
						
						
							
							feat: skip update duplicate message  
						
						 
						
						
						
						
					 
					
						2024-06-29 08:58:49 -04:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						4755a4cedd 
					 
					
						
						
							
							feat: Web Preview (Instant View) switch for cleaner look  
						
						 
						
						
						
						
					 
					
						2024-06-29 03:10:08 -04:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						f2b73750a8 
					 
					
						
						
							
							fix: update same message  
						
						 
						
						
						
						
					 
					
						2024-06-28 05:29:09 -04:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						4cf8c8f8d9 
					 
					
						
						
							
							fix: threadthings  
						
						 
						
						... 
						
						
						
						Signed-off-by: yihong0618 <zouzou0208@gmail.com > 
						
						
					 
					
						2024-06-28 16:13:17 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						9c8638279e 
					 
					
						
						
							
							feat: Default skip telegraph account  
						
						 
						
						... 
						
						
						
						It will print out the token in local terminal by default.
If Store_Token = True, it will store token in "token_key.json"
View my lite ver and try at <https://github.com/alterxyz/tg_bot_collections_lite > 
						
						
					 
					
						2024-06-24 21:26:44 -04:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						e2ffd7fa57 
					 
					
						
						
							
							feat: create telegraph account  
						
						 
						
						... 
						
						
						
						- feat: create and store the telegraph token locally
 - check and use if there exist token in json
- feat: auto generate telegraph token for cohere.py and answer_it
- fix: optional delete other answer_it message and only leave a telegraph link messsage for clean view
Co-Authored-By: yihong <zouzou0208@gmail.com > 
						
						
					 
					
						2024-06-23 09:14:19 -04:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						dbed5f08b3 
					 
					
						
						
							
							feat: Cohere telegra.ph  
						
						 
						
						... 
						
						
						
						- Enable Cohere web search
- Output the entire LLM message with its source link on Telegraph 
						
						
					 
					
						2024-06-22 07:29:00 -04:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						90fd74c403 
					 
					
						
						
							
							fix: command  
						
						 
						
						... 
						
						
						
						Signed-off-by: yihong0618 <zouzou0208@gmail.com > 
						
						
					 
					
						2024-06-20 15:18:29 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						bd202851e0 
					 
					
						
						
							
							fix: without command  
						
						 
						
						... 
						
						
						
						Signed-off-by: yihong0618 <zouzou0208@gmail.com > 
						
						
					 
					
						2024-06-15 15:55:16 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						b9ed871d58 
					 
					
						
						
							
							feat: answer it!  
						
						 
						
						... 
						
						
						
						Signed-off-by: yihong0618 <zouzou0208@gmail.com > 
						
						
					 
					
						2024-06-15 11:29:31 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						2abcc90a32 
					 
					
						
						
							
							reduce code duplication and reuse image_to_data_uri  
						
						 
						
						
						
						
					 
					
						2024-04-17 14:03:26 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						f804005f5e 
					 
					
						
						
							
							support Claude and Yi handlers to extract and enrich text with URLs  
						
						 
						
						
						
						
					 
					
						2024-04-15 23:49:56 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						fdc9d00eb0 
					 
					
						
						
							
							add a new optional argument split_text to the bot_reply_markdown function.  
						
						 
						
						... 
						
						
						
						- The default is True, it is set to False when streaming output. 
						
						
					 
					
						2024-04-11 16:47:16 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						14b075491e 
					 
					
						
						
							
							use black to format the code  
						
						 
						
						
						
						
					 
					
						2024-03-29 11:57:33 -04:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						f68f19e359 
					 
					
						
						
							
							Update the MarketdownV2 message  
						
						 
						
						
						
						
					 
					
						2024-03-29 23:28:39 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						790bd55517 
					 
					
						
						
							
							Correct typo  
						
						 
						
						
						
						
					 
					
						2024-03-29 23:24:44 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						98909312f2 
					 
					
						
						
							
							Update the MarkdownV2 message  
						
						 
						
						
						
						
					 
					
						2024-03-29 23:01:34 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						27444d6fa1 
					 
					
						
						
							
							reply immediately and make users feel bots little resposible  
						
						 
						
						
						
						
					 
					
						2024-03-29 22:45:58 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						13090b6a42 
					 
					
						
						
							
							Split to multiple reply if text length is more than 4000 bytes  
						
						 
						
						
						
						
					 
					
						2024-03-19 04:20:22 -04:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						d58575b428 
					 
					
						
						
							
							fix: map location wrong decorator is pass  
						
						 
						
						... 
						
						
						
						Signed-off-by: yihong0618 <zouzou0208@gmail.com > 
						
						
					 
					
						2023-12-18 12:21:35 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						e56b35cfd1 
					 
					
						
						
							
							fix: markdown format  
						
						 
						
						
						
						
					 
					
						2023-12-17 22:56:54 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						3f2a768ede 
					 
					
						
						
							
							fix: reuse function  
						
						 
						
						... 
						
						
						
						Signed-off-by: Frost Ming <me@frostming.com > 
						
						
					 
					
						2023-12-16 18:23:22 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						73a9c20bc7 
					 
					
						
						
							
							chore: rename available_commands to list_available_commands  
						
						 
						
						
						
						
					 
					
						2023-12-16 14:37:41 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						d410f48db6 
					 
					
						
						
							
							feat(argparse): show available commands as choices for disable_command option  
						
						 
						
						
						
						
					 
					
						2023-12-16 14:30:05 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						93fb98f7b5 
					 
					
						
						
							
							feat: add --disable-command option to specify a command to disable  
						
						 
						
						
						
						
					 
					
						2023-12-15 22:23:10 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						33eb1bb197 
					 
					
						
						
							
							fix bug  
						
						 
						
						... 
						
						
						
						Signed-off-by: Frost Ming <me@frostming.com > 
						
						
					 
					
						2023-12-15 14:08:22 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						7af312834c 
					 
					
						
						
							
							add some comments  
						
						 
						
						... 
						
						
						
						Signed-off-by: Frost Ming <me@frostming.com > 
						
						
					 
					
						2023-12-15 14:05:49 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						7a46a22262 
					 
					
						
						
							
							feat: Modularize handlers  
						
						 
						
						... 
						
						
						
						Signed-off-by: Frost Ming <me@frostming.com > 
						
						
					 
					
						2023-12-15 14:00:18 +08:00