Potential fix for code scanning alert no. 3961: Clear-text logging of sensitive information

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
This commit is contained in:
Ishaan Jaff 2026-01-08 18:34:43 +05:30 committed by GitHub
parent 295c0de26e
commit 58348ffc7b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -164,9 +164,8 @@ class ManusResponsesAPIConfig(OpenAIResponsesAPIConfig):
if extra_body:
base_request.update(extra_body)
verbose_logger.debug(
f"Manus: Using agent_profile={agent_profile}, task_mode=agent"
)
# Avoid logging potentially sensitive agent_profile value
verbose_logger.debug("Manus: Using task_mode=agent")
return base_request