fix: Fix return type annotation in truncate function (#2044) cd22cf3 Moonlit commited on Aug 22, 2024