Skip to content

Commit

Permalink
Fix query_memories
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh-XT committed Aug 15, 2023
1 parent 5286341 commit 43f0061
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion agixtsdk/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -772,7 +772,7 @@ def get_agent_memories(
collection_number: int = 0,
) -> List[Dict[str, Any]]:
try:
response = requests.get(
response = requests.post(
headers=self.headers,
url=f"{self.base_uri}/api/agent/{agent_name}/memory/{collection_number}/query",
json={
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

setup(
name="agixtsdk",
version="0.0.23",
version="0.0.24",
description="The AGiXT SDK for Python.",
long_description=long_description,
long_description_content_type="text/markdown",
Expand Down

0 comments on commit 43f0061

Please sign in to comment.