Skip to content

Commit dd20204

Browse files
ollama: update to 0.4.5 (#134265)
1 parent ef46c62 commit dd20204

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

homeassistant/components/ollama/manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@
88
"documentation": "https://www.home-assistant.io/integrations/ollama",
99
"integration_type": "service",
1010
"iot_class": "local_polling",
11-
"requirements": ["ollama==0.3.3"]
11+
"requirements": ["ollama==0.4.5"]
1212
}

requirements_all.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1528,7 +1528,7 @@ oemthermostat==1.1.1
15281528
ohme==1.2.0
15291529

15301530
# homeassistant.components.ollama
1531-
ollama==0.3.3
1531+
ollama==0.4.5
15321532

15331533
# homeassistant.components.omnilogic
15341534
omnilogic==0.4.5

requirements_test_all.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1276,7 +1276,7 @@ odp-amsterdam==6.0.2
12761276
ohme==1.2.0
12771277

12781278
# homeassistant.components.ollama
1279-
ollama==0.3.3
1279+
ollama==0.4.5
12801280

12811281
# homeassistant.components.omnilogic
12821282
omnilogic==0.4.5

tests/components/ollama/test_conversation.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ async def test_chat(
5151

5252
assert args["model"] == "test model"
5353
assert args["messages"] == [
54-
Message({"role": "system", "content": prompt}),
55-
Message({"role": "user", "content": "test message"}),
54+
Message(role="system", content=prompt),
55+
Message(role="user", content="test message"),
5656
]
5757

5858
assert (

0 commit comments

Comments
 (0)