return;
}
this._reportCredits(sessionId, readCopilotUsageNanoAiu(message));
// Rewrite outbound `model` to SDK format. Failure to re-parse
// shouldn't normally happen because we just translated it on
// the way in, but log + passthrough rather than dropping.
const outboundModel = rewriteModelToSdk(message.model, this._logService) ?? originalSdkModelId;
const responseBody: Anthropic.Message = { ...message, model: outboundModel };