mirror of
				https://github.com/cdryzun/tg_bot_collections.git
				synced 2025-11-04 08:46:44 +08:00 
			
		
		
		
	correct the parameter passed to bot_reply_first in yi_handler
This commit is contained in:
		@ -45,7 +45,7 @@ def yi_handler(message: Message, bot: TeleBot) -> None:
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    who = "Yi"
 | 
					    who = "Yi"
 | 
				
			||||||
    # show something, make it more responsible
 | 
					    # show something, make it more responsible
 | 
				
			||||||
    reply_id = bot_reply_first(message, {who}, bot)
 | 
					    reply_id = bot_reply_first(message, who, bot)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    player_message.append({"role": "user", "content": m})
 | 
					    player_message.append({"role": "user", "content": m})
 | 
				
			||||||
    # keep the last 5, every has two ask and answer.
 | 
					    # keep the last 5, every has two ask and answer.
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user