Skip to content

Function: isResponsesOnly()

isResponsesOnly(endpoint): boolean

True when the endpoint is known to reject Chat Completions /invocations and require the Responses API (Codex models today). Callers should route those to responsesUrl instead of invocationsUrl.

string

boolean