chore/ 精简展示AI活动的日志
This commit is contained in:
@@ -176,7 +176,10 @@ class InterviewAgent:
|
||||
log_agent_payload(
|
||||
logger,
|
||||
"InterviewAgent.generate_response.prompt",
|
||||
format_history_string(messages),
|
||||
format_history_string(
|
||||
messages,
|
||||
omit_system_body=settings.agent_log_omit_system_message_body,
|
||||
),
|
||||
)
|
||||
chat_llm = self.llm.bind(max_tokens=reply_plan.max_tokens)
|
||||
prompt_chars = _message_contents_char_count(messages)
|
||||
@@ -276,7 +279,10 @@ class InterviewAgent:
|
||||
log_agent_payload(
|
||||
logger,
|
||||
"InterviewAgent.opening.prompt",
|
||||
format_history_string(messages),
|
||||
format_history_string(
|
||||
messages,
|
||||
omit_system_body=settings.agent_log_omit_system_message_body,
|
||||
),
|
||||
)
|
||||
opening_llm = self.llm.bind(max_tokens=settings.chat_opening_max_tokens)
|
||||
prompt_chars = _message_contents_char_count(messages)
|
||||
|
||||
Reference in New Issue
Block a user