Read-only live mirror of Archestra.AI Slack
👋Join the discussion withAI enthusiasts![Content blocked by policy: ...], without preserving that the tool call was actually executedurl in the result, does the github issue exist?Sensitive: The result is treated as sensitive or risky context for later decisions
read_salariessend_emailsread_salaries tool, that would mark the agent's context as "sensitive" - which would now mean that send_emails tool will require human approval for it to execute (you could also configure it to be blocked or to allow it only in certain situations (ie. can only send emails to @mycompany.com))gpt-5.4?-nano model is maybe getting confused by the presence of the tool call args.body literally saying:issue_write - tool call policy - require approval\ntool result policy - blocked
gpt-5.4 and let me know what you see 🙂the model-facing tool result is replaced with[Content blocked by policy: ...], without preserving that the tool call was actually executed
github_dry_run_test__issue_write should id and url (real github api's tool call result I imagine) - can you share where you were seeing "Content blocked by policy"? (you should be able to go to /llm/logs, find the session associated with this chat and see the full request/response lifecycle to openai for this session "role": "tool",
"content": "[Content blocked by policy: Data blocked by default policy: Unnamed policy]",
"tool_call_id": "call_CEkhbXvVAu3dGZVTOJnqcVvz"
}```
Raw Response: "id": "4340576829",
"url": "<https://github.com/VadimLarinTech/dry-run-policy-lab/issues/28>"
}```
Conclusion - Tool Call was executed, issue was created (as it should be by the policy), but the model misleads the user and writes that the call was not done
Solution - at the stage of removing the Result Content from the model (this is the Tool Result, which blocked by policy) in `trusted-data.ts:191`, pass to it information about the Tool Call execution status (`Completed/Error`, which we already show in the UI in the Tool Call Card), then it will not mislead the user.