OpenAIAgentsIntegration
junjo.plugins.openai_agents.OpenAIAgentsIntegration
Kind: Class
SDK version: 0.67.0
Documentation channel: Stable release
Signature
Section titled “Signature”OpenAIAgentsIntegration(shared: _SharedIntegration)Closeable ownership handle for the process-level integration.
Handles returned for the same active OpenTelemetry provider share one OpenAI TraceProvider wrapper. Closing the final handle restores the exact original OpenAI provider. The integration never shuts down the application-owned OpenTelemetry provider or its exporters.
Members
Section titled “Members”close() -> NoneRelease this handle and restore the original OpenAI provider.
The operation is idempotent. Applications must stop creating Agent runs before closing the final process-lifetime handle.