Skip to main content

Module hosting

Module hosting 

Source
Expand description

Where a provider’s models are hosted, as opposed to which wire they speak.

A WireProtocol names the request/response shape; Hosting names the platform in front of it. The two are independent: Claude speaks the Anthropic wire both on api.anthropic.com and on Google Vertex AI, and the two differ in URL shape, auth and a handful of body fields while sharing the codec. Hosting is derived from the endpoint host, never declared, so a catalog entry cannot claim one platform while pointing at another. Hosting::of is the only place that decision is made.

Copyright (c) systemprompt.io — Business Source License 1.1. See https://systemprompt.io for licensing details.

Enums§

Hosting

Constants§

PROJECT_PLACEHOLDER
REGION_PLACEHOLDER

Functions§

is_vertex_host
names_a_project_literally