feat:内置频率调整,减轻Planner负担

This commit is contained in:
SengokuCola
2025-10-14 13:17:08 +08:00
parent a97d8b4e3d
commit 36d95848d1
12 changed files with 126 additions and 106 deletions

View File

@@ -55,7 +55,7 @@ class FrequencyAdjustAction(BaseAction):
return False, error_msg
# 2. 获取当前频率值
current_frequency = frequency_api.get_current_talk_frequency(self.chat_id)
current_frequency = frequency_api.get_current_talk_value(self.chat_id)
# 3. 计算新的频率值(使用比率而不是绝对值)
# calculated_frequency = current_frequency * multiply