Skip to content

**<sub><sub>![P2 Badge](https://img.shields.io/badge/P2-yellow?style=flat)</sub></sub> Remove unsupported pre-approval guardrail option** #133

Description

@lhweiler03-sc

P2 Badge Remove unsupported pre-approval guardrail option

This documents toolExecution.preApprovalInputGuardrails as a working option, but it is not implemented in the SDK: ToolExecutionConfig in packages/agents-core/src/run.ts only defines maxFunctionToolConcurrency, and a repo-wide search finds preApprovalInputGuardrails only in these new docs. In JavaScript this guidance is silently ignored (and in TypeScript the object is rejected), so function-tool approvals will still be created before input guardrails run despite the documentation saying otherwise.

Useful? React with 👍 / 👎.
👍

Originalmente postado por @chatgpt-codex-connector em lhweiler03-sc/openai-agents-js#3 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions