Skip to content

Commit

Permalink
ollama: update to 0.4.5 (#134265)
Browse files Browse the repository at this point in the history
  • Loading branch information
FliegendeWurst authored Dec 30, 2024
1 parent ef46c62 commit dd20204
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion homeassistant/components/ollama/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
"documentation": "https://www.home-assistant.io/integrations/ollama",
"integration_type": "service",
"iot_class": "local_polling",
"requirements": ["ollama==0.3.3"]
"requirements": ["ollama==0.4.5"]
}
2 changes: 1 addition & 1 deletion requirements_all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1528,7 +1528,7 @@ oemthermostat==1.1.1
ohme==1.2.0

# homeassistant.components.ollama
ollama==0.3.3
ollama==0.4.5

# homeassistant.components.omnilogic
omnilogic==0.4.5
Expand Down
2 changes: 1 addition & 1 deletion requirements_test_all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1276,7 +1276,7 @@ odp-amsterdam==6.0.2
ohme==1.2.0

# homeassistant.components.ollama
ollama==0.3.3
ollama==0.4.5

# homeassistant.components.omnilogic
omnilogic==0.4.5
Expand Down
4 changes: 2 additions & 2 deletions tests/components/ollama/test_conversation.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ async def test_chat(

assert args["model"] == "test model"
assert args["messages"] == [
Message({"role": "system", "content": prompt}),
Message({"role": "user", "content": "test message"}),
Message(role="system", content=prompt),
Message(role="user", content="test message"),
]

assert (
Expand Down

0 comments on commit dd20204

Please sign in to comment.