feat: Update version to 1.7.0 and add term description length settings for AI-generated content
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
/**
|
||||
* Plugin Name: SitiAI Product Teksten
|
||||
* Description: Genereer productteksten met diverse AI-aanbieders rechtstreeks vanuit WooCommerce.
|
||||
* Version: 1.6.4
|
||||
* Version: 1.7.0
|
||||
* Author: SitiAI
|
||||
* Text Domain: siti-ai-product-content-generator
|
||||
* Domain Path: /languages
|
||||
@@ -342,6 +342,14 @@ final class Groq_AI_Product_Text_Plugin {
|
||||
return $this->get_settings_manager()->get_image_context_limit( $settings );
|
||||
}
|
||||
|
||||
public function get_term_top_description_char_limit( $settings = null ) {
|
||||
return $this->get_settings_manager()->get_term_top_description_char_limit( $settings );
|
||||
}
|
||||
|
||||
public function get_term_bottom_description_char_limit( $settings = null ) {
|
||||
return $this->get_settings_manager()->get_term_bottom_description_char_limit( $settings );
|
||||
}
|
||||
|
||||
public function should_use_response_format( Groq_AI_Provider_Interface $provider, $settings ) {
|
||||
return ! $this->is_response_format_compat_enabled( $settings ) && $provider->supports_response_format();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user