mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-11-12 13:49:59 +00:00
feat(agent): Release agent SDK (#1396)
This commit is contained in:
19
dbgpt/agent/core/user_proxy_agent.py
Normal file
19
dbgpt/agent/core/user_proxy_agent.py
Normal 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
|
||||
Reference in New Issue
Block a user