The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
style(anthropic): keep helper module formatting
JoaoMarcos448b1cd165110d
diff --git a/agent/message_sanitization.py b/agent/message_sanitization.pyindex 950a9b2712a..3a39788173f 100644--- a/agent/message_sanitization.py+++ b/agent/message_sanitization.py@@ -703,6 +703,7 @@ def native_anthropic_accounting_projection(messages: Any) -> Any:projected.append(shadow)return projected+def apply_reasoning_content_policy(source_msg: dict, api_msg: dict, needs_thinking_pad: bool) -> None:"""Copy provider-facing reasoning fields onto an API replay message (mutates ``api_msg``).``needs_thinking_pad`` is the require-side flag (``needs_reasoning_echo``)."""