14 lines
320 B
Python
14 lines
320 B
Python
# tools/deep_thought.py
|
|
|
|
# 初始化全局变量
|
|
deep_thought_active = False
|
|
|
|
# 设置深度思考状态的函数
|
|
def set_deep_thought_status(status: bool):
|
|
global deep_thought_active
|
|
deep_thought_active = status
|
|
|
|
# 获取深度思考状态的函数
|
|
def get_deep_thought_status():
|
|
return deep_thought_active
|