-
- Downloads
Update ollama to use the ChatLog/ChatSession APIs (#138167)
* Update ollama to use the ChatLog/ChatSession APIs * Add documentation about history trimming. * Revert changes to chat_log.py * Explicitly check for SystemContent when converting system messages * Remove half of a comment
Showing
- homeassistant/components/ollama/conversation.py 113 additions, 156 deletionshomeassistant/components/ollama/conversation.py
- homeassistant/components/ollama/models.py 0 additions, 3 deletionshomeassistant/components/ollama/models.py
- tests/components/ollama/snapshots/test_conversation.ambr 2 additions, 2 deletionstests/components/ollama/snapshots/test_conversation.ambr
- tests/components/ollama/test_conversation.py 13 additions, 62 deletionstests/components/ollama/test_conversation.py
Loading
Please register or sign in to comment