Skip to content
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

Studio supports allocation of agent server #351

Merged
merged 76 commits into from
Aug 6, 2024

Conversation

pan-x-c
Copy link
Collaborator

@pan-x-c pan-x-c commented Jul 18, 2024

Description

Auto server allocation

In the previous version, users must provide host and port for each to_dist call, if they want to use an existing agent server.
Now, the studio will automatically allocate a server to the to_dist function when the app is connected to the AgentScope Studio.

Improve customized agent class loading

In the new version, the agent server also supports loading a directory of customized agent classes with in-directory dependencies with the agent_dir parameter.

Update Tutorial

The tutorial for the above new features and the usage of server manager page has been updated.

Checklist

Please check the following items before code is ready to be reviewed.

  • Code has passed all tests
  • Docstrings have been added/updated in Google Style
  • Documentation has been updated
  • Code is ready for review

Copy link
Collaborator

@DavdGao DavdGao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See inline comments.

docs/sphinx_doc/zh_CN/source/tutorial/209-gui.md Outdated Show resolved Hide resolved
src/agentscope/agents/agent.py Show resolved Hide resolved
src/agentscope/agents/agent.py Show resolved Hide resolved
Copy link
Collaborator

@rayrayraykk rayrayraykk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please see the inline comments, thanks!

src/agentscope/agents/rpc_agent.py Show resolved Hide resolved
src/agentscope/server/launcher.py Show resolved Hide resolved
Copy link
Collaborator

@xieyxclack xieyxclack left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@DavdGao DavdGao merged commit 1329860 into modelscope:main Aug 6, 2024
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request ready for review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants