Connection
Base URL, credentials and a reachable server.
Connect an external product catalog. Define timeout behavior and how the application should handle an incomplete response.
Base URL, credentials and a reachable server.
A model available through the configured endpoint.
Context limits and tool support are determined by the model and server.
const response = await client.get('/catalog');
if (!response.ok) return reportFailure();
return normalize(await response.json());