Files
DB-GPT/dbgpt/agent/agents/user_proxy_agent.py
明天 d5afa6e206 Native data AI application framework based on AWEL+AGENT (#1152)
Co-authored-by: Fangyin Cheng <staneyffer@gmail.com>
Co-authored-by: lcx01800250 <lcx01800250@alibaba-inc.com>
Co-authored-by: licunxing <864255598@qq.com>
Co-authored-by: Aralhi <xiaoping0501@gmail.com>
Co-authored-by: xuyuan23 <643854343@qq.com>
Co-authored-by: aries_ckt <916701291@qq.com>
Co-authored-by: hzh97 <2976151305@qq.com>
2024-02-07 17:43:27 +08:00

19 lines
575 B
Python

from typing import Callable, Dict, List, Literal, Optional, Tuple, Union
from ..memory.gpts_memory import GptsMemory
from .agent import Agent, AgentContext
from .base_agent_new import ConversableAgent
class UserProxyAgent(ConversableAgent):
"""(In preview) 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