Bump ollama to 0.3.1 (#122866)

This commit is contained in:
Denis Shulyaka 2024-07-31 10:35:45 +03:00 committed by GitHub
parent 35bfd0b88f
commit 5a04d982d9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 4 additions and 4 deletions

View file

@ -271,7 +271,7 @@ class OllamaConversationEntity(
_LOGGER.debug("Tool response: %s", tool_response)
message_history.messages.append(
ollama.Message(
role=MessageRole.TOOL.value, # type: ignore[typeddict-item]
role=MessageRole.TOOL.value,
content=json.dumps(tool_response),
)
)

View file

@ -8,5 +8,5 @@
"documentation": "https://www.home-assistant.io/integrations/ollama",
"integration_type": "service",
"iot_class": "local_polling",
"requirements": ["ollama==0.3.0"]
"requirements": ["ollama==0.3.1"]
}

View file

@ -1466,7 +1466,7 @@ odp-amsterdam==6.0.2
oemthermostat==1.1.1
# homeassistant.components.ollama
ollama==0.3.0
ollama==0.3.1
# homeassistant.components.omnilogic
omnilogic==0.4.5

View file

@ -1205,7 +1205,7 @@ objgraph==3.5.0
odp-amsterdam==6.0.2
# homeassistant.components.ollama
ollama==0.3.0
ollama==0.3.1
# homeassistant.components.omnilogic
omnilogic==0.4.5