Plugin Directory

Changeset 3109860


Ignore:
Timestamp:
06/30/2024 06:21:09 AM (20 months ago)
Author:
wpgrids
Message:

Release 1.2.5

Location:
ai-content-generation
Files:
88 added
4 edited

Legend:

Unmodified
Added
Removed
  • ai-content-generation/trunk/inc/admin.php

    r3029514 r3109860  
    7777                                    <td>
    7878                                        <select id="wpwand_model" name="wpwand_model">
     79                                            <option value="gpt-4o" <?php selected(wpwand_get_option('wpwand_model', 'gpt-3.5-turbo'), 'gpt-4o'); ?>>
     80                                                <?php esc_html_e('gpt-4o', 'wpwand'); ?></option>
    7981                                            <option value="gpt-4" <?php selected(wpwand_get_option('wpwand_model', 'gpt-3.5-turbo'), 'gpt-4'); ?>>
    8082                                                <?php esc_html_e('gpt-4', 'wpwand'); ?></option>
  • ai-content-generation/trunk/inc/api.php

    r3029514 r3109860  
    326326    $openAI = new OpenAi(get_option('wpwand_api_key'));
    327327
    328     if ('gpt-3.5-turbo' == $selected_model || 'gpt-3.5-turbo-16k' == $selected_model || 'gpt-4' == $selected_model) {
     328    if ('gpt-3.5-turbo' == $selected_model || 'gpt-3.5-turbo-16k' == $selected_model || 'gpt-4' == $selected_model || 'gpt-4o' == $selected_model) {
    329329
    330330        $complete = $openAI->chat([
     
    364364{
    365365    $text = '';
    366     switch ($error->type) {
    367         case 'invalid_request_error':
    368             $text .= 'OpenAI Error: Your OpenAI api key is either invalid or expired!';
    369             break;
    370         case 'authentication_error':
    371             $text .= 'OpenAI Error: Your OpenAI api key is either invalid or expired!';
    372             break;
    373         case 'rate_limit_error':
    374             $text .= 'OpenAI Error: You have hit your assigned rate limit.';
    375             break;
    376         case 'tokens_exceeded_error':
    377             $text .= 'OpenAI Error: You have exceeded the allowed number of tokens in your request.';
    378             break;
    379         case 'server_error':
    380             $text .= 'OpenAI Error: An issue occurred on the OpenAI server side.';
    381             break;
    382         case 'permission_error':
    383             $text .= 'OpenAI Error: Your API key or token lacks the required permissions for the requested action.';
    384             break;
    385         default:
    386             $text .= 'OpenAI Error: ' . $error->message;
    387     }
     366
     367    $text .= 'OpenAI Error: ' . $error->message;
     368
    388369    return $text;
    389370}
  • ai-content-generation/trunk/readme.txt

    r3029833 r3109860  
    44Tags: ChatGPT, GPT4, Elementor AI, Gutenberg AI, AI Writer, wpwand, Bulk Post, AI Content, GPT3, Content Generator, Content Writer, AI Post Generator, AI Blog Post Writer, AI Article, AI Image Generator, Dall-e
    55Requires at least: 5.0
    6 Tested up to: 6.4.3
    7 Stable tag: 1.2.4
     6Tested up to: 6.5.5
     7Stable tag: 1.2.5
    88License: GPL-2.0+
    99License URI: http://www.gnu.org/licenses/gpl-2.0.txt
     
    307307
    308308== Changelog ==
     309
     310= 1.2.5 =
     311* New: GPT-4o Added.
     312* Fixed: OpenAI Error Message.
     313* Fixed: Minor Issues.
     314
    309315= 1.2.4 =
    310316* New: All Prompt Templates Are Now Free to Use.
    311317* Fixed: OpenAI Error Message.
    312318* Fixed: Minor Issues.
    313 
    314319= 1.2.3 =
    315320* Fixed: Minor Issue.
  • ai-content-generation/trunk/wp-wand.php

    r3029514 r3109860  
    44 * Plugin URI: https://wpwand.com/
    55 * Description: WP Wand is a AI content generation plugin for WordPress that helps your team create high quality content 10X faster and 50x cheaper. No monthly subscription required.
    6  * Version: 1.2.4
     6 * Version: 1.2.5
    77 * Author: WP Wand
    88 * Author URI: https://wpwand.com/
Note: See TracChangeset for help on using the changeset viewer.