Skip to content

Variable: CHAT\_COMPLETIONS\_PATH

const CHAT_COMPLETIONS_PATH: "serving-endpoints/chat/completions" = "serving-endpoints/chat/completions"

Workspace-level OpenAI Chat Completions path. Body carries model (endpoint id), unlike invocationsUrl which names the endpoint in the URL. Use this when the caller has a model id rather than a per-endpoint route - e.g. attaching a provider tool spec to whichever endpoint was resolved.