| @@ -162,9 +162,9 @@ | ||
| 162 | 162 | } |
| 163 | 163 | |
| 164 | 164 | try { |
| 165 | 165 | if ( ! $this->ai_helper->has_api_key() ) { |
| 166 | - return new \WP_Error( 'no_api_key', 'OpenAI API key is not configured. Please add your API key in BetterDocs settings.' ); | |
| 166 | + return new \WP_Error( 'no_api_key', 'AI API key is not configured. Please add your API key in BetterDocs settings.' ); | |
| 167 | 167 | } |
| 168 | 168 | |
| 169 | 169 | // Prepare content for AI processing |
| 170 | 170 | $prepared_content = $this->ai_helper->prepare_content_for_ai( $content, 4000 ); |