updated client code to match refactored server code

This commit is contained in:
cpacker
2024-01-01 02:37:45 -08:00
committed by robingotz
parent 55f610bec1
commit a150db65f0

View File

@@ -67,7 +67,7 @@ class Client(object):
def agent_exists(self, agent_id: str) -> bool:
existing = self.list_agents()
return agent_id in existing["agent_names"]
return agent_id in [agent["name"] for agent in existing["agents"]]
def create_agent(
self,