hass-core/tests/components/openai_conversation
Denis Shulyaka 2f0215b034
LLM Tools support for OpenAI integration (#117645)
* initial commit

* Add tests

* Move tests to the correct file

* Fix exception type

* Undo change to default prompt

* Add intent dependency

* Move format_tool out of the class

* Fix tests

* coverage

* Adjust to new API

* Update strings

* Update tests

* Remove unrelated change

* Test referencing non-existing API

* Add test to verify no exception on tool conversion for Assist tools

* Bump voluptuous-openapi==0.0.4

* Add device_id to tool input

* Fix tests

---------

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2024-05-21 22:45:04 -04:00
..
snapshots LLM Tools support for OpenAI integration (#117645) 2024-05-21 22:45:04 -04:00
__init__.py
conftest.py LLM Tools support for OpenAI integration (#117645) 2024-05-21 22:45:04 -04:00
test_config_flow.py
test_conversation.py LLM Tools support for OpenAI integration (#117645) 2024-05-21 22:45:04 -04:00
test_init.py