Filters the maximum text attachment size that may be inserted into the conversation as direct private context.
Larger browser-side text attachments are offered as compact previews instead of being inserted in full.
add_filter( 'ai_assistant_client_file_context_bytes', function( int $bytes ) { // Your code here. return $bytes; } );
int
$bytes
apply_filters('ai_assistant_client_file_context_bytes', 128 * 1024)
← All Hooks
There was an error while loading. Please reload this page.