← Về thư mục
📄 / / profiles / r-and-d / raw_evidence / OpenAI4S / skills / using-model-endpoint / SKILL.md

name: using-model-endpoint description: Call a registered model endpoint over its native HTTP API from the endpoint's scoped inference kernel (BASE_URL preloaded). Load once a task needs predictions from a registered model endpoint. license: Apache-2.0 origin: openai4s capabilities: network: mode: host_only domains: []


You are a pure HTTP client of BASE_URL. Each registered model endpoint gets its own inference kernel — a Python REPL whose network egress is scoped to exactly that endpoint — reached via compute_provider({'provider': '<slug>', 'code': '…'}) (<slug> from list_compute, without the infer: prefix).

Managed endpoints (entries with managed: true / a location field in list_compute): their lifecycle — daemon-owned start/stop, registration, free_port/register — lives in the managed-model-endpoints skill. Cells against them are still just HTTP calls to BASE_URL; the daemon brings the model up on demand (a cold start streams its progress into your cell and can take minutes).