Skip to content

Conversation

github-actions[bot]
Copy link
Contributor

Automated update of translated documentation.

Triggered by commit: 22a63aad8b39d39bcc106956b48b2f3989299c48.
Message: `Adding tool input and output guardrails (#1792)

  • This PR was started from PR 1606: Tool
    Guardrails
  • It adds input and output guardrails at the tool level which can
    trigger ToolInputGuardrailTripwireTriggered and
    ToolOutputGuardrailTripwireTriggered exceptions
  • It includes updated documentation, a runnable example, and unit tests
  • make check and unit tests all pass

Edits since last review:

  • Extracted nested tool running logic in _run_impl.py
  • Added rejecting tool call or tool call output and returning a message
    to the model (rather than only raising an exception)
  • Added the tool guardrail results to the RunResult
  • Removed docs`

@seratch
Copy link
Member

seratch commented Sep 26, 2025

No actual changes to docs

@seratch seratch closed this Sep 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant