Connection
Base URL, credentials and a reachable server.
Fix the completion toggle in a shopping list. Follow the selected item by its identifier so other rows remain unchanged.
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 next = items.map(item =>
item.id === selectedId
? { ...item, checked: !item.checked }
: item
);