-
Notifications
You must be signed in to change notification settings - Fork 343
New issue
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
Agent servers support running any type of agent #135
Agent servers support running any type of agent #135
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have two issues in this modification:
- If it's appropriate to add a new entry for distributed agent. I know directly instantiate a distributed agent object will save time, but the in this way the local mode and distributed mode are mixed.
- If the new entry is necessary. Please move the initialization arguments to the constructor of
AgentBase
class, and addkwargs
to the agent classses under the libraryagentscope.agents
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
plz see inline comments, others lgtm
…rectory service functions (modelscope#156)
…#179) * add cycle dots before agent reply in AS studio * change name of decorator, change type of glb_doing_signal_dict * add refresh after reset * decorator for reply * init glb_doing_signal_dict * remove js in reset_button.click since it does not work
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Description
Based on #94
RpcServerSideWrapper
intoAgentPlatform
host
andport
are necessary. (custom_agents
is required, if using agent class written by the user)launch_server
parameter into_dist
method. When thehost
andport
are not passed in, the server will be started automaticallyto_dist=True
to initialize anyAgentBase
subclass to convert the agent into its distributed versionChecklist
Please check the following items before code is ready to be reviewed.