Expand description
List-models QUERY-string conversion (inbound wire → target wire).
Models requests are GET/no-body — their parameters travel in the query, so
the bytes dispatch never sees them. The pipeline calls request_query
with the inbound query in TransformContext::query instead. Values are
kept percent-encoded verbatim (parse → typed request transform → re-emit).
Functions§
- request_
query - Convert the inbound ListModels query to the target wire’s query string.
None= nothing to send (OpenAI’s list endpoint takes no parameters, so every pair into/out of OpenAI drops them). Non-models pairs and GetModel are a no-op.