PluginProbe
MxChat – AI Chatbot & Content Generation for WordPress / 3.2.24
MxChat – AI Chatbot & Content Generation for WordPress v3.2.24
3.2.25 3.2.24 3.2.23 3.2.22 3.2.21 3.2.20 3.2.19 3.2.18 3.2.17 3.2.16 3.2.15 3.2.14 3.2.12 3.2.13 3.2.11 3.2.10 3.2.9 3.2.8 3.2.7 3.2.6 3.2.5 3.2.4 3.2.3 3.2.2 3.2.1 All 156 releases
← All changes | includes/class-mxchat-content-generator.php +3 -2 3.2.22 → 3.2.24 View file →
@@ -2284,13 +2284,14 @@
2284 2284 * used only when the core model catalog is unavailable. Byte-identical to the
2285 2285 * old inline if/elseif at the call site.
2286 2286 */
2287 2287 private function mxchat_cg_reasoning_effort_fallback($model) {
2288 - if (strpos($model, 'gpt-5') !== 0) return null;
2288 + if (strpos($model, 'gpt-5') !== 0 && strpos($model, 'gpt-6') !== 0) return null; // gpt-6 too (plan 45c22d)
2289 2289 if ($model === 'gpt-5.2' || $model === 'gpt-5.1-chat-latest') return null;
2290 2290 if ($model === 'gpt-5.1-2025-11-13') return 'low';
2291 2291 if ($model === 'gpt-5.5') return 'low';
2292 2292 if ($model === 'gpt-5.4') return 'low';
2293 + if (in_array($model, array('gpt-6-astra', 'gpt-6-sol', 'gpt-6-luna'), true)) return 'low'; // plan 45c22d
2293 2294 if (in_array($model, array('gpt-5.6-sol', 'gpt-5.6-terra', 'gpt-5.6-luna'), true)) return 'low';
2294 2295 return 'minimal';
2295 2296 }
2296 2297
@@ -2311,9 +2312,9 @@
2311 2312 // GPT-5.x models require max_completion_tokens and only support temperature=1.
2312 2313 // Token key, temperature gate, and reasoning_effort are sourced from the
2313 2314 // core model catalog (plan-dcb71c); frozen fallbacks preserve exact
2314 2315 // pre-dcb71c behavior if the catalog class is unavailable.
2315 - $is_gpt5 = strpos($model, 'gpt-5') === 0;
2316 + $is_gpt5 = strpos($model, 'gpt-5') === 0 || strpos($model, 'gpt-6') === 0; // gpt-6 too (plan 45c22d)
2316 2317 $catalog = class_exists('MxChat_Model_Catalog');
2317 2318 $token_key = ($catalog && method_exists('MxChat_Model_Catalog', 'openai_token_param'))
2318 2319 ? MxChat_Model_Catalog::openai_token_param($model)
2319 2320 : ($is_gpt5 ? 'max_completion_tokens' : 'max_tokens');