mirror of
https://github.com/acon96/home-llm.git
synced 2026-01-08 21:28:05 -05:00
populate potential models if the provided one was unavailable
This commit is contained in:
@@ -215,8 +215,8 @@ async def test_validate_config_flow_ollama(mock_setup_entry, hass: HomeAssistant
|
||||
|
||||
# simulate incorrect settings on first try
|
||||
validate_connections_mock.side_effect = [
|
||||
("failed_to_connect", Exception("ConnectionError")),
|
||||
(None, None)
|
||||
("failed_to_connect", Exception("ConnectionError"), []),
|
||||
(None, None, [])
|
||||
]
|
||||
|
||||
result3 = await hass.config_entries.flow.async_configure(
|
||||
|
||||
Reference in New Issue
Block a user