Releases: wpgaurav/gt-ai-provider-for-openai
Releases · wpgaurav/gt-ai-provider-for-openai
Release list
v1.0.2-gt1
[1.0.2-gt1] — 2026-04-22
Initial public release of the GT fork, rebased on upstream wordpress/ai-provider-for-openai 1.0.2.
Added
- GT Custom OpenAI Instance connector — a second entry on
wp-admin/options-connectors.phpfor any OpenAI-compatible endpoint (Azure OpenAI, OpenRouter, LiteLLM, Ollama, self-hosted). Settings → GT Custom OpenAI Instanceadmin page with:- Base URL field (override via
GT_CUSTOM_OPENAI_BASE_URLconstant or env var). - Three live-fetched model dropdowns (text, image, meta) with latest-first sort, cached 7 days.
- "Refresh now" button to purge the model cache.
- Base URL field (override via
- Seven new WordPress Abilities under the
gt/category:gt/stop-slop-scangt/rewrite-for-voicegt/suggest-internal-linksgt/generate-faqs-accordiongt/set-featured-image(16:9 landscape)gt/tts-readaloudgt/rankmath-meta-sync
- Block editor sidebar panel "GT AI Tools" with one-click Generate Featured Image and Generate FAQs actions.
- Human-friendly AI-generated image filenames (replaces
ai-generated-image-<timestamp>.pngwith a post-derived slug plus 6-char suffix). Works acrosswp_handle_upload_prefilter,wp_handle_sideload_prefilter,wp_insert_attachment_data, andadd_attachmenthooks. - 7-day transient cache for
/v1/models(shared between the metadata directory and the dropdown UI). - Filter
ai_client_default_system_instructionpreseeding a content-site prompt: specific numbers over adjectives, no AI-slop openers, contractions on, American English. - Filters:
gt_openai_default_text_model,gt_openai_default_image_model,gt_openai_default_meta_model,gt_stop_slop_banned_phrases,gt_rewrite_default_voice,gt_internal_link_post_types,gt_internal_link_ranker,gt_featured_image_style_preset.
Changed
- Default text model now
gpt-5.4(was auto-selected from the /v1/models list). - Default image model now
gpt-image-2-2026-04-21dated snapshot. - Model sort preference now ranks
gpt-image-2and newer abovegpt-image-1.5/gpt-image-1/dall-e-*, and ranks newer dated snapshots above older ones within the same family. - Aspect-ratio metadata for
gpt-image-*expanded from 3 ratios to 9 (1:1, 3:2, 2:3, 7:4, 4:7, 16:9, 9:16, 2:1, 1:2). - Admin notice about missing API key now accepts the key from env, constant,
connectors_ai_openai_api_keyoption, or the GT Custom connector option (was env/constant only). - All AI Client calls from GT abilities now set a 120 s
RequestOptions::setTimeout()to avoid hitting the WordPress HTTP default 5 s timeout on image generation.
Fixed
- Settings page no longer locks the base URL unless a
wp-config.phpconstant is active. - Abilities correctly serialize into the flat indexed
acf/accordionblock format required by ACF blocks.
Upstream — 1.0.2
- Add provider description.
- Fix missing input/output modality combinations.
- Update
readme.txttags.
Upstream — 1.0.1
- Initial plugin release. GPT text generation, DALL-E image generation, function calling, web search.
Upstream — 1.0.0
- Initial Composer package release.
Install: download gt-ai-provider-for-openai-1.0.2-gt1.zip and upload via wp-admin → Plugins → Add New → Upload Plugin.
SHA-256: 964813e8326396700a1114ddaec1384760f0d2bf0cab287b48fa0844534bebc3