Connection
Base URL, credentials and a reachable server.
Trace a date from an API response to the interface. Keep its meaning consistent across serialization and parsing.
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 payload = { createdAt: date.toISOString() };
const decoded = schema.parse(payload);
return new Date(decoded.createdAt);