Connection
Base URL, credentials and a reachable server.
Remove access tokens from nested log objects before they reach the logger. Check arrays, missing fields and a cyclic object, keeping the event type and leaving the original payload 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 cleaned = redactCopy(payload, {
keys: ["access_token", "authorization"],
replacement: "[REDACTED]",
});
logger.info(cleaned);