Skip to content

Function: responsesUpstreamUrl()

responsesUpstreamUrl(host, endpoint): string

Pick the Databricks Responses upstream for an endpoint id: OpenAI-family models use /serving-endpoints/responses; everything else uses the cross-provider /serving-endpoints/open-responses.

string

string

string