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) _LOGGER.debug("Tool response: %s", tool_response)
message_history.messages.append( message_history.messages.append(
ollama.Message( ollama.Message(
role=MessageRole.TOOL.value, # type: ignore[typeddict-item] role=MessageRole.TOOL.value,
content=json.dumps(tool_response), content=json.dumps(tool_response),
) )
) )

View File

@ -8,5 +8,5 @@
"documentation": "https://www.home-assistant.io/integrations/ollama", "documentation": "https://www.home-assistant.io/integrations/ollama",
"integration_type": "service", "integration_type": "service",
"iot_class": "local_polling", "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 oemthermostat==1.1.1
# homeassistant.components.ollama # homeassistant.components.ollama
ollama==0.3.0 ollama==0.3.1
# homeassistant.components.omnilogic # homeassistant.components.omnilogic
omnilogic==0.4.5 omnilogic==0.4.5

View File

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