注释
This commit is contained in:
committed by
Windpicker-owo
parent
4c72e03d39
commit
e2cd82e009
@@ -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(),
|
||||||
|
|||||||
@@ -266,7 +266,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,selected_expressions = await self.build_prompt_reply_context(
|
prompt,selected_expressions = await self.build_prompt_reply_context(
|
||||||
extra_info=extra_info,
|
extra_info=extra_info,
|
||||||
|
|||||||
Reference in New Issue
Block a user