We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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?
from agentscope.rpc.rpc_agent_client import RpcAgentClient client = RpcAgentClient(host="localhost", port=12010) agent_list = client.get_agent_list() print(agent_list)
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'?
The text was updated successfully, but these errors were encountered:
You can find some examples in test_agent_server_management_funcs of tests/rpc_agent_test.py.
test_agent_server_management_funcs
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]
pip install -e .[full]
Sorry, something went wrong.
No branches or pull requests
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'?
The text was updated successfully, but these errors were encountered: