Closed ZWood15 closed 2 months ago
Can you check Settings > System > Network > Home Assistant URL? The url set there is used to fetch images.
Additionally you can also enable debugging by adding the following to your configuration.yaml
:
logger:
logs:
custom_components.llmvision: debug
This should log the url used for the request, so you can check on your computer if the url is accessible.
That worked! The URL setting was what was causing issue, sorry for the trouble and thanks so much. Excited to use this integration!!
No worries, glad to hear it works!
Bug Description
Getting an error when attempting to call an action using LLM Vision
HA 2024.8.0 LLM Vision 1.0.1
Service Call
action: llmvision.image_analyzer data: provider: Google include_filename: false target_width: 1280 detail: high max_tokens: 100 temperature: 0.5 message: Describe what you see in the image, be detailed in your description. image_entity:
Logs
Logger: homeassistant.components.websocket_api.http.connection Source: components/websocket_api/commands.py:797 integration: Home Assistant WebSocket API (documentation, issues) First occurred: 10:46:59 PM (6 occurrences) Last logged: 11:00:54 PM
[140601808554448] Fetch failed: Cannot connect to host 10.0.1.117:8123 ssl:default [[SSL] record layer failure (_ssl.c:1000)] [140601808554448] No image input provided [140601285001024] Fetch failed: Cannot connect to host 10.0.1.117:8123 ssl:default [[SSL] record layer failure (_ssl.c:1000)]
Additional context
Recieving the error when connecting directly via IP address or when accessing via a custom domain served over https