feat(agent): Release agent SDK (#1396)

This commit is contained in:
Fangyin Cheng
2024-04-10 22:44:53 +08:00
committed by GitHub
parent 37e7c0151b
commit df80bc2079
152 changed files with 5680 additions and 6114 deletions

View File

@@ -0,0 +1,19 @@
"""A proxy agent for the user."""
from .base_agent import ConversableAgent
class UserProxyAgent(ConversableAgent):
"""A proxy agent for the user.
That can execute code and provide feedback to the other agents.
"""
name = "User"
profile: str = "Human"
desc: str = (
"A human admin. Interact with the planner to discuss the plan. "
"Plan execution needs to be approved by this admin."
)
is_human = True