symfonic.core.provider_request_boundary¶
provider_request_boundary ¶
Private invocation-local signals at exact provider request boundaries.
OpenAIPayloadMatch ¶
Bases: StrEnum
Text-only agreement at SDK request handoff; never delivery evidence.
install_openai_request_observer ¶
Observe calls on this model's SDK client during a bound attempt.
The SDK client is model-owned and shared by Pydantic's shallow model_copy; a supplied httpx client is never modified. Mocked constructors pass through. A Runnable's direct call on the same SDK client is also observed and compared with the bound transcript; neither result proves delivery.
Source code in src/symfonic/core/provider_request_boundary.py
mark_request_boundary ¶
Record only the boundary actually crossed by a supported adapter.
Source code in src/symfonic/core/provider_request_boundary.py
suspend_request_boundary ¶
Keep a streaming consumer outside the provider's observation scope.