Skip to content

Commit 356a1a6

Browse files
committed
v0.0.69
1 parent 90c4067 commit 356a1a6

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

agixtsdk/__init__.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -995,6 +995,18 @@ def get_extensions(self):
995995
except Exception as e:
996996
return self.handle_error(e)
997997

998+
def get_agent_extensions(self, agent_name: str = "AGiXT"):
999+
try:
1000+
response = requests.get(
1001+
headers=self.headers,
1002+
url=f"{self.base_uri}/api/agent/{agent_name}/extensions",
1003+
)
1004+
if self.verbose:
1005+
parse_response(response)
1006+
return response.json()["extensions"]
1007+
except Exception as e:
1008+
return self.handle_error(e)
1009+
9981010
def get_command_args(self, command_name: str) -> Dict[str, Any]:
9991011
try:
10001012
response = requests.get(

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
setup(
1010
name="agixtsdk",
11-
version="0.0.68",
11+
version="0.0.69",
1212
description="The AGiXT SDK for Python.",
1313
long_description=long_description,
1414
long_description_content_type="text/markdown",

0 commit comments

Comments
 (0)