feat: consolidate docs, backend/session infra, and settings updates
This commit is contained in:
@@ -204,7 +204,7 @@ class WP_Agentic_Writer_Codex_Provider implements WP_Agentic_Writer_AI_Provider_
|
||||
$buffer = substr( $buffer, $newline_pos + 1 );
|
||||
|
||||
$line = trim( $line );
|
||||
if ( empty( $line ) || ! str_starts_with( $line, 'data: ' ) ) {
|
||||
if ( empty( $line ) || 0 !== strpos( $line, 'data: ' ) ) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user