Open Harinisri29 opened 1 month ago
You can find some examples in test_agent_server_management_funcs
of tests/rpc_agent_test.py
.
The wrong version of AgentScope may cause the reported error. Please reinstall AgentScope from the latest source code pip install -e .[full]
https://github.com/modelscope/agentscope/tree/main/src/agentscope/rpc In this repo below files are there
init.py rpc_agent.proto rpc_agent_client.py rpc_agent_pb2.py rpc_agent_pb2_grpc.py
In the rpc_agent_client.py set of functions are defined right? How can I call those? can someone help me to test any of these functions?
I get the below error. But my Server agent is running on that port AttributeError: 'RpcAgentClient' object has no attribute 'get_agent_list'
also for
ok = client.delete_agent(agent_id) TypeError: RpcAgentClient.delete_agent() takes 1 positional argument but 2 were given
ok = client.delete_all_agent() AttributeError: 'RpcAgentClient' object has no attribute 'delete_all_agent'. Did you mean: 'delete_agent'?