mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-06-02 03:55:55 +00:00
feat: 对接收到的消息文字进行strip (#174)
This commit is contained in:
@@ -60,6 +60,8 @@ def process_message(launcher_type: str, launcher_id: int, text_message: str, mes
|
||||
|
||||
pkg.openai.session.get_session(session_name).acquire_response_lock()
|
||||
|
||||
text_message = text_message.strip()
|
||||
|
||||
# 处理消息
|
||||
try:
|
||||
if session_name in processing:
|
||||
|
||||
Reference in New Issue
Block a user