Connection
Base URL, credentials and a reachable server.
Check a graph traversal for cycles. Distinguish active nodes from visited ones and test a self-loop, a disconnected component and an acyclic path.
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.
if (active.has(node)) return cycleFound();
if (visited.has(node)) return;
active.add(node);
for (const child of edges(node)) visit(child);