TGTGInsighttelegram intelligenceLIVE / telegram public index
Post content
Post content
Innei 向 mx-space/core 提交了一个更改 feat(comment): add language support for comment anchors and enhance anchor resolution - Introduced a new `lang` field in the `CommentAnchorModel` to support language-specific comments. - Updated `CommentAnchorSchema` to validate the `lang` field, allowing it to be null or a string with a maximum length of 10 characters. - Enhanced the `resolveAnchorForCreate` method in `CommentService` to handle language-aware anchor resolution, fetching translations when a language is specified. - Refactored related services to pass the entire document object instead of just the text for better context handling. Signed-off-by: Innei <[email protected]>