core/tests/components/openai_conversation
Denis Shulyaka 1242456ff1
Bump openai end switch from dall-e-2 to dall-e-3 (#104998)
* Bump openai

* Fix tests

* Apply suggestions from code review

* Undo conftest changes

* Raise repasir issue

* Explicitly use async mock for chat.completions.create

It is not always detected correctly as async because it uses a decorator

* removed duplicated message

* ruff

* Compatibility with old pydantic versions

* Compatibility with old pydantic versions

* More tests

* Apply suggestions from code review

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>

* Apply suggestions from code review

---------

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2023-12-11 09:47:26 -05:00
..
snapshots
__init__.py
conftest.py Bump openai end switch from dall-e-2 to dall-e-3 (#104998) 2023-12-11 09:47:26 -05:00
test_config_flow.py Bump openai end switch from dall-e-2 to dall-e-3 (#104998) 2023-12-11 09:47:26 -05:00
test_init.py Bump openai end switch from dall-e-2 to dall-e-3 (#104998) 2023-12-11 09:47:26 -05:00