v4.6.0
π ° Sayf AI Text Fixer v4.6.0
π Gemini API Upgrade & Model Optimization
Building upon the v4.5.0 foundation, this release upgrades the Gemini API integration to the latest version, adds Gemini 3 Flash Preview support, and removes the problematic Gemini 3 Pro Preview model.
π Release Metrics
| Metric | v4.5.0 | v4.6.0 | Improvement |
|---|---|---|---|
| API Version | Legacy | Gemini API v1beta | +100% |
| Models Supported | 7 | 6 | Optimized |
| JSON Payload | Unquoted | Properly Quoted | Fixed |
| Authentication | URL Query | Header-Based | +50% |
| Bug Fixes | 12 | 6 | +50% |
| API Compatibility | Good | Excellent | +40% |
π₯ What's New in v4.6.0
π API Upgrades
| Feature | Description | Benefit |
|---|---|---|
| π€ Gemini 3 Flash Preview | Latest frontier-class flash model with exceptional performance | Access to cutting-edge AI capabilities |
| π New API Endpoint | Migrated from streamGenerateContent to generateContent |
Better API compatibility |
| π Header Authentication | API key now sent via x-goog-api-key header |
More secure, standard-compliant auth |
| π Proper JSON Formatting | Fixed JSON payload with quoted property names | Resolves HTTP 400 Bad Request errors |
ποΈ Model Cleanup
| Removed | Reason | Alternative |
|---|---|---|
| Gemini 3 Pro Preview | Severe rate limiting (HTTP 429 errors) | Use Gemini 2.5 Pro or Gemini 3 Flash |
| gemini-pro-latest alias | Points to rate-limited models | Use gemini-flash-latest instead |
π§ Critical Bug Fixes
- π‘οΈ Global Variable Initialization β Fixed startup "unassigned global variable" errors
- π JSON Payload Malformation β Property names now properly quoted in API requests
- π Auto-Detection Logic β Improved parameter validation and error prevention
ποΈ Enhanced Technical Architecture
- π‘ Updated HttpRequestManager β Full compatibility with new Gemini API endpoint
- π Secure Authentication β Header-based API key transmission (no more URL params)
- π‘οΈ Strengthened Startup β Proper global variable declarations and initialization order
- π Enhanced Logging β Better diagnostic information for API requests
- β Validated JSON Output β Guaranteed proper JSON formatting for all API calls
π¦ System Requirements (Unchanged)
- AutoHotkey v2.0+ (Required)
- Windows 10/11 (Recommended)
- Google Gemini API Key (Required)
- Internet connection (Required)
- 50MB disk space (Recommended)
π¨βπ» Developer Credits
- Lead Developer: Sayf (@zSayf)
- API Integration: Enhanced Gemini API v1beta support
- JSON Library: cJson v2.1.0 by Philip Taylor (@G33kDude)
- License: Open Source (See LICENSE file)
π Getting Started with v4.6.0
New Installation
- Download
Sayf Ai Text Fixer.ahkv4.6.0 from releases - Right-click and select "Run with AutoHotkey"
- Enter your Google Gemini API key when prompted
- Select your preferred model (Gemini 3 Flash Preview recommended)
- Enjoy improved API compatibility!
Upgrade from v4.5.0
- RECOMMENDED: Replace your current file with v4.6.0
- Restart the application
- Your settings will be preserved
- Experience the latest Gemini API integration!
π Hotkeys Reference
- Ctrl+Alt+S β Smart text processing with mode selection
- Ctrl+Alt+D β Professional log viewer (check for detailed debugging info)
- Ctrl+Alt+M β Advanced settings dialog (model selection updated)
- Esc β Hide tooltips
β οΈ Important Notes
Model Selection Changes
- Removed:
gemini-3-pro-previewandgemini-pro-latestdue to rate limiting - Recommended:
gemini-3-flash-previewfor best performance - Fallback:
gemini-2.5-flashfor stable processing - Budget:
gemini-2.5-flash-litefor cost-effective operations
API Compatibility
- This version uses the latest
generateContentendpoint - Requires valid Google Gemini API key with appropriate quotas
- Flash models typically have higher rate limits than Pro models
β If this API upgrade improved your experience, please star the repository!
π§ Issues or questions? β GitHub Issues
π Download: Release v4.6.0