Skip to content

Commit 70d9cf6

Browse files
committed
feat: use agents-v2
1 parent 670c356 commit 70d9cf6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

phc/services/agents.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def invoke_basic(self, body: Union[str, List[Dict]]):
1515
permission.
1616
"""
1717
return self._api_call(
18-
"/v1/agents/basic/invoke", json={"input": body}, http_verb="POST"
18+
"/v1/agents-v2/basic/invoke", json={"input": body}, http_verb="POST"
1919
)
2020

2121
def get_token(self):
@@ -65,4 +65,4 @@ def get_token(self):
6565
)
6666
])
6767
"""
68-
return self._api_call("/v1/agents/token", http_verb="GET")
68+
return self._api_call("/v1/agents-v2/token", http_verb="GET")

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "phc"
3-
version = "1.1.0"
3+
version = "1.2.0"
44
description = "Python SDK for the LifeOmic platform"
55
authors = ["LifeOmic <[email protected]>"]
66
license = "MIT"

0 commit comments

Comments
 (0)