@velum-labs/routekit-provider-core
v1.5.2
Published
Internal provider module, source, backend, and codec primitives.
Downloads
872
Readme
@velum-labs/routekit-provider-core
Internal provider module contracts, normalized source ports, HTTP backends, and provider protocol codecs.
Translated Codex subscription requests
The existing Chat-to-Codex Responses codec preserves ordered text and user
image_url blocks (including image-only turns, URL/data-URL values, and image
detail), function calls/results, structured output, and compatible reasoning
metadata. Unsupported or malformed content blocks fail with a sanitized
codex_responses_unmappable_chat_field error and a field path before provider
transport. Images in assistant/instruction messages or string-valued tool
results are rejected, not flattened to text.
This is translation, not native Codex relay equivalence. Subscription sources
do not support native previous_response_id; callers must replay prior input.
Subscription sampling controls (temperature, top_p) are rejected.
max_tokens / max_completion_tokens (including translated
max_output_tokens) remain advisory and unforwarded at the subscription
boundary: they are not an enforced output or spending budget. The codec's
non-subscription configuration still forwards an output cap.
