@@ -36,7 +36,6 @@ def llm_context() -> llm.LLMContext:
3636 return llm .LLMContext (
3737 platform = "" ,
3838 context = None ,
39- user_prompt = None ,
4039 language = None ,
4140 assistant = None ,
4241 device_id = None ,
@@ -162,7 +161,6 @@ async def test_assist_api(
162161 llm_context = llm .LLMContext (
163162 platform = "test_platform" ,
164163 context = test_context ,
165- user_prompt = "test_text" ,
166164 language = "*" ,
167165 assistant = "conversation" ,
168166 device_id = None ,
@@ -237,7 +235,7 @@ class MyIntentHandler(intent.IntentHandler):
237235 "area" : {"value" : "kitchen" },
238236 "floor" : {"value" : "ground_floor" },
239237 },
240- text_input = "test_text" ,
238+ text_input = None ,
241239 context = test_context ,
242240 language = "*" ,
243241 assistant = "conversation" ,
@@ -296,7 +294,7 @@ class MyIntentHandler(intent.IntentHandler):
296294 "preferred_area_id" : {"value" : area .id },
297295 "preferred_floor_id" : {"value" : floor .floor_id },
298296 },
299- text_input = "test_text" ,
297+ text_input = None ,
300298 context = test_context ,
301299 language = "*" ,
302300 assistant = "conversation" ,
@@ -412,7 +410,6 @@ async def test_assist_api_prompt(
412410 llm_context = llm .LLMContext (
413411 platform = "test_platform" ,
414412 context = context ,
415- user_prompt = "test_text" ,
416413 language = "*" ,
417414 assistant = "conversation" ,
418415 device_id = None ,
@@ -760,7 +757,6 @@ async def test_script_tool(
760757 llm_context = llm .LLMContext (
761758 platform = "test_platform" ,
762759 context = context ,
763- user_prompt = "test_text" ,
764760 language = "*" ,
765761 assistant = "conversation" ,
766762 device_id = None ,
@@ -961,7 +957,6 @@ async def test_script_tool_name(hass: HomeAssistant) -> None:
961957 llm_context = llm .LLMContext (
962958 platform = "test_platform" ,
963959 context = context ,
964- user_prompt = "test_text" ,
965960 language = "*" ,
966961 assistant = "conversation" ,
967962 device_id = None ,
@@ -1241,7 +1236,6 @@ async def test_calendar_get_events_tool(hass: HomeAssistant) -> None:
12411236 llm_context = llm .LLMContext (
12421237 platform = "test_platform" ,
12431238 context = context ,
1244- user_prompt = "test_text" ,
12451239 language = "*" ,
12461240 assistant = "conversation" ,
12471241 device_id = None ,
@@ -1344,7 +1338,6 @@ async def test_todo_get_items_tool(hass: HomeAssistant) -> None:
13441338 llm_context = llm .LLMContext (
13451339 platform = "test_platform" ,
13461340 context = context ,
1347- user_prompt = "test_text" ,
13481341 language = "*" ,
13491342 assistant = "conversation" ,
13501343 device_id = None ,
@@ -1451,7 +1444,6 @@ async def test_no_tools_exposed(hass: HomeAssistant) -> None:
14511444 llm_context = llm .LLMContext (
14521445 platform = "test_platform" ,
14531446 context = context ,
1454- user_prompt = "test_text" ,
14551447 language = "*" ,
14561448 assistant = "conversation" ,
14571449 device_id = None ,
0 commit comments