注释
This commit is contained in:
@@ -58,7 +58,6 @@ class PlanGenerator:
|
|||||||
target_info = TargetPersonInfo(**chat_target_info_dict)
|
target_info = TargetPersonInfo(**chat_target_info_dict)
|
||||||
|
|
||||||
available_actions = self._get_available_actions()
|
available_actions = self._get_available_actions()
|
||||||
|
|
||||||
chat_history_raw = get_raw_msg_before_timestamp_with_chat(
|
chat_history_raw = get_raw_msg_before_timestamp_with_chat(
|
||||||
chat_id=self.chat_id,
|
chat_id=self.chat_id,
|
||||||
timestamp=time.time(),
|
timestamp=time.time(),
|
||||||
|
|||||||
@@ -262,7 +262,7 @@ class DefaultReplyer:
|
|||||||
available_actions = {}
|
available_actions = {}
|
||||||
llm_response = None
|
llm_response = None
|
||||||
try:
|
try:
|
||||||
# 3. 构建 Prompt
|
# 构建 Prompt
|
||||||
with Timer("构建Prompt", {}): # 内部计时器,可选保留
|
with Timer("构建Prompt", {}): # 内部计时器,可选保留
|
||||||
prompt = await self.build_prompt_reply_context(
|
prompt = await self.build_prompt_reply_context(
|
||||||
reply_to=reply_to,
|
reply_to=reply_to,
|
||||||
|
|||||||
Reference in New Issue
Block a user