Skip to content

Commit

Permalink
optimize system msg
Browse files Browse the repository at this point in the history
  • Loading branch information
rayrayraykk committed Jan 18, 2024
1 parent e05a168 commit 36254e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/game/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ def one_on_one_loop(customers, player):
msg = customer(msg)
# print(f"{customer_reply.name}(顾客):" + customer_reply.content)
send_pretty_msg(msg)
send_chat_msg("【系统】直接回车以终止对话。")
send_chat_msg("【系统】若不输入任何内容直接按回车键,顾客将离开餐馆。")
msg = player(msg)
if len(msg["content"]) == 0:
send_chat_msg(f"【系统】顾客{customer.name} 离开餐馆")
Expand Down

0 comments on commit 36254e1

Please sign in to comment.