Plugin Directory

Changeset 3072991


Ignore:
Timestamp:
04/18/2024 10:49:15 AM (2 years ago)
Author:
codeapple
Message:

Fixed issue # Content writing minor issue

Location:
wordai
Files:
49 added
3 edited

Legend:

Unmodified
Added
Removed
  • wordai/trunk/includes/class-sftcy-wordai-openai.php

    r3072955 r3072991  
    130130        $openai_params = [];
    131131        $data = SFTCY_Wordai::sc_wordai_get_current_api_settings();
    132         $openai_params['model'] = $data['sc-wordai-openai-model-slug'];
     132        // $openai_params['model'] = $data['sc-wordai-openai-model-slug'];
     133        $openai_params['model'] = ! isset( $data['sc-wordai-openai-model-slug'] ) || empty( $data['sc-wordai-openai-model-slug'] )? self::$MODEL : trim( $data['sc-wordai-openai-model-slug'] );
    133134        $openai_params['max_tokens'] = empty( $data['sc-wordai-max-tokens'] ) ? null : intval( $data['sc-wordai-max-tokens'] );
    134135        $openai_params['temperature'] = floatval( $data['sc-wordai-temperature'] );
  • wordai/trunk/readme.txt

    r3072955 r3072991  
    66Tested up to: 6.5
    77Requires PHP: 7.2
    8 Stable tag: 1.0.0
     8Stable tag: 1.0.1
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
  • wordai/trunk/wordai.php

    r3072955 r3072991  
    44 * Plugin URI:  https://softcoy.com
    55 * Description: AI driven humanlike SEO friendly content writing with HD images generation based on OpenAI. Automatize your Post / Page / Product content writing tasks.
    6  * Version:     1.0.0
     6 * Version:     1.0.1
    77 * Author:      softcoy
    88 * Author URI:  https://softcoy.com/
     
    3636 
    3737if ( ! defined( 'SFTCY_WORDAI_VERSION') ) {
    38   define( 'SFTCY_WORDAI_VERSION', '1.0.0' );
     38  define( 'SFTCY_WORDAI_VERSION', '1.0.1' );
    3939}
    4040if ( ! defined( 'SFTCY_WORDAI_MINIMUM_PHP_VERSION') ) {
Note: See TracChangeset for help on using the changeset viewer.