Skip to content

[pull] main from openai:main#40

Merged
pull[bot] merged 3 commits intoFoundryAI:mainfrom
openai:main
Sep 27, 2025
Merged

[pull] main from openai:main#40
pull[bot] merged 3 commits intoFoundryAI:mainfrom
openai:main

Conversation

@pull
Copy link
Copy Markdown

@pull pull bot commented Sep 27, 2025

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

steven10a and others added 3 commits September 26, 2025 11:41
- This PR was started from [PR 1606: Tool
Guardrails](#1606)
- 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
Co-authored-by: Kazuhiro Sera <seratch@openai.com>
@pull pull bot locked and limited conversation to collaborators Sep 27, 2025
@pull pull bot added the ⤵️ pull label Sep 27, 2025
@pull pull bot merged commit 57a39ae into FoundryAI:main Sep 27, 2025
1 check passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants