Connection
Base URL, credentials and a reachable server.
Literal token substitution starts with the code in your project folder. Open the relevant files in the Windows workspace and discuss the proposed change with a compatible AI model; replace-token.js is an illustrative filename, and its helper functions must be implemented and checked in your own application.
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 (token.length === 0) throw new Error("token.empty");
return source.replaceAll(token, () => replacement);