UNPKG

@openai/agents-openai

Version:

The OpenAI Agents SDK is a lightweight yet powerful framework for building multi-agent workflows.

9 lines • 509 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.CONTENT_FILTER_REFUSAL_MESSAGE = void 0; exports.shouldSynthesizeContentFilterRefusal = shouldSynthesizeContentFilterRefusal; exports.CONTENT_FILTER_REFUSAL_MESSAGE = "Response withheld by the provider's content filter."; function shouldSynthesizeContentFilterRefusal({ finishReason, hasOutput, }) { return finishReason === 'content_filter' && !hasOutput; } //# sourceMappingURL=openaiChatCompletionsContentFilter.js.map