Connection
Base URL, credentials and a reachable server.
Prevent an older search response from replacing newer results. Track request order and test a slow first response followed by a fast second one.
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 requestId = ++latestRequest;
const result = await search(query);
if (requestId !== latestRequest) return;
renderResults(result);