mirror of
https://github.com/smkrv/ha-text-ai.git
synced 2026-07-31 07:43:55 +08:00
fix: Add support for response_variable in ask_question service
- Added response schema definition in services.yaml for ask_question service - Set supports_response=True flag when registering the service - Fixed JSON syntax error in English translation file - Added comprehensive documentation with examples for response_variable usage - Users can now capture AI responses directly in variables without sensor delays Resolves issue where scripts failed with 'Script does not support response_variable' error
This commit is contained in:
@@ -92,9 +92,9 @@
|
||||
"anthropic": "Anthropic (compatible)",
|
||||
"deepseek": "DeepSeek",
|
||||
"gemini": "Google Gemini"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
},
|
||||
"services": {
|
||||
"ask_question": {
|
||||
"name": "Ask Question (HA Text AI)",
|
||||
|
||||
Reference in New Issue
Block a user