You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Enterprise clients need stable request semantics when a request selects pass-through, stateful execution, or built-in tool execution. Provide an explicit capability contract so required fields and metadata are preserved, deliberately transformed, or rejected with a useful error.
Proposed solution
Document and test field handling for Responses and Messages, including reasoning, structured output, caching, metadata, multimodal content, tool declarations, and supported extensions.
Add typed support for required executor fields; retain the existing raw-body preservation boundary for native Messages. Do not round-trip native requests through a partial type or introduce untyped public core APIs.
Define which request headers/query parameters and response metadata cross each transport boundary, including version/beta controls, tracing, request IDs, rate limits, and retry guidance.
Separate client authentication, trusted proxy identity, inference credentials, and tool credentials. Filter hop-by-hop headers and invalidate representation headers after transformations.
Acceptance criteria
A published per-path matrix states supported, transformed, and rejected capabilities, with explicit extension handling.
Required request semantics do not silently disappear when enabling storage or built-in tools; unsupported behavior returns a protocol-appropriate validation error before inference/tool effects.
Tests compare equivalent pass-through and executor-backed requests over HTTP JSON/SSE and Responses WebSocket where supported.
Enterprise Readiness enhancement. Coordinate with #107 for trusted identity and #155 for conversation compatibility. Token counting must use the declared model/backend capability; do not substitute generation for a count_tokens operation.
Problem statement / motivation
Enterprise clients need stable request semantics when a request selects pass-through, stateful execution, or built-in tool execution. Provide an explicit capability contract so required fields and metadata are preserved, deliberately transformed, or rejected with a useful error.
Proposed solution
Acceptance criteria
Additional context
Enterprise Readiness enhancement. Coordinate with #107 for trusted identity and #155 for conversation compatibility. Token counting must use the declared model/backend capability; do not substitute generation for a count_tokens operation.
Source review at
afa6c14: Responses request types, Messages request context, and proxy metadata handling. This is a capability enhancement, not a claim of complete upstream API conformance.Enterprise Readiness tracker: #316