Skip to main content

clean_display_content

Function
This function is defined in the display module.
Clean content for display (truncate if too long)

Signature

def clean_display_content(content: &str, max_length: usize) -> String

Parameters

content
&str
required
No description available.
max_length
usize
required
No description available.

Returns

Returns
String
The result of the operation.

Source

View on GitHub

praisonai/src/display.rs at line 559