Expand description
Core gateway object records: requests, responses, runs, and events.
Structs§
- Gateway
Event - Represents one event emitted during a
GatewayRun. - Gateway
Request - Represents an inbound HTTP request to the OpenAI-compatible gateway.
- Gateway
Response - Represents an HTTP response produced by the gateway.
- Gateway
Response Value - Wraps a
GatewayResponseas a runtimeObjectvalue. - Gateway
Run - Represents a single gateway run: one accepted request being processed.
Constants§
- GATEWAY_
EVENT_ OBJECT - Object-kind tag identifying a
GatewayEventin itsExprprojection. - GATEWAY_
REQUEST_ OBJECT - Object-kind tag identifying a
GatewayRequestin itsExprprojection. - GATEWAY_
RESPONSE_ OBJECT - Object-kind tag identifying a
GatewayResponsein itsExprprojection. - GATEWAY_
RUN_ OBJECT - Object-kind tag identifying a
GatewayRunin itsExprprojection.
Functions§
- content_
id_ expr - Projects a
ContentIdinto anExprmap with its algorithm, raw bytes, and hex-encoded digest. - content_
id_ hex - Returns the lowercase hex encoding of a
ContentId’s digest bytes.