_truncateContent(content) {
        try {
            if (process.env.CONTENT_MAX_LENGTH) {
                console.log('Truncating content to max length:', process.env.CONTENT_MAX_LENGTH);
                return content.substring(0, process.env.CONTENT_MAX_LENGTH);
            }
        } catch (error) {
            console.error('Error truncating content:', error);
        }
        return content;
    }
Truncate content to maximum length if specified
@param {string} content - Content to truncate
@returns {string} Truncated content