mirror of
https://github.com/smkrv/ha-text-ai.git
synced 2026-07-22 07:03:58 +08:00
🚀 Major Features: - Add response variables support to ask_question service - Eliminate 255-character limitation for AI responses - Enable direct data access in automations without sensors - Prevent race conditions in parallel automations 🔧 Production Code Audit & Fixes: - Enhanced resource management with context managers in api_client.py - Fixed critical race conditions with asyncio.Semaphore implementation - Improved file operations with atomic writes and corruption handling - Enhanced error handling and logging security (removed sensitive data) - Fixed _check_memory_available method placement in coordinator.py 🌐 Translation Updates (8 languages): - Updated all translation files with response variables information - Enhanced service descriptions in: en, ru, de, es, it, hi, sr, zh - Added information about direct response capability - Maintained consistency across all language files 📚 Documentation Enhancements: - Added comprehensive Response Variables section to README - Created advanced automation examples with response_variable usage - Added migration guide from sensors to response variables - Enhanced service documentation with response data structure - Added practical examples for multi-step AI workflows 🔄 Service Improvements: - Enhanced ask_question service to return structured response data - Added comprehensive response schema in services.yaml - Improved error handling with success/failure indicators - Added metadata support (tokens, model, timestamp) �� Version & Manifest: - Bumped version to 2.1.8 - Maintained compatibility with existing integrations - Updated service documentation This release addresses GitHub issue #2 and significantly improves the integration's production readiness while adding powerful new response variable functionality.
30 lines
729 B
JSON
30 lines
729 B
JSON
{
|
|
"domain": "ha_text_ai",
|
|
"name": "HA Text AI",
|
|
"after_dependencies": ["http"],
|
|
"bluetooth": [],
|
|
"codeowners": ["@smkrv"],
|
|
"config_flow": true,
|
|
"dependencies": [],
|
|
"documentation": "https://github.com/smkrv/ha-text-ai",
|
|
"integration_type": "service",
|
|
"iot_class": "cloud_polling",
|
|
"issue_tracker": "https://github.com/smkrv/ha-text-ai/issues",
|
|
"loggers": ["custom_components.ha_text_ai"],
|
|
"mqtt": [],
|
|
"quality_scale": "silver",
|
|
"requirements": [
|
|
"openai>=1.12.0",
|
|
"anthropic>=0.8.0",
|
|
"google-genai>=1.16.0",
|
|
"aiohttp>=3.8.0",
|
|
"async-timeout>=4.0.0",
|
|
"certifi>=2024.2.2"
|
|
],
|
|
"single_config_entry": false,
|
|
"ssdp": [],
|
|
"usb": [],
|
|
"version": "2.1.8",
|
|
"zeroconf": []
|
|
}
|