core/tests/components/ollama
Denis Shulyaka 4b2073ca59
Add LLM tools support for Ollama (#120454)
* Add LLM tools support for Ollama

* fix tests

* coverage

* Separate call for tool parameters

* Fix example

* hint on parameters schema if LLM forgot to request it

* Switch to native tool call functionality

* Fix tests

* Fix tools list

* update strings and default model

* Ignore mypy error until fixed upstream

* Ignore mypy error until fixed upstream

* Add missing prompt part

* Update default model
2024-07-28 18:19:53 -07:00
..
snapshots Add LLM tools support for Ollama (#120454) 2024-07-28 18:19:53 -07:00
__init__.py Add LLM tools support for Ollama (#120454) 2024-07-28 18:19:53 -07:00
conftest.py Add LLM tools support for Ollama (#120454) 2024-07-28 18:19:53 -07:00
test_config_flow.py
test_conversation.py Add LLM tools support for Ollama (#120454) 2024-07-28 18:19:53 -07:00
test_init.py