From 1d6d98da60ad636f0bfdeb61a5da5861e24bcd59 Mon Sep 17 00:00:00 2001 From: Weirui Kuang <39145382+rayrayraykk@users.noreply.github.com> Date: Tue, 16 Jan 2024 12:27:49 +0800 Subject: [PATCH] [hotfix] Fix missing UserAgent (#5) * Update __init__.py * format --- src/agentscope/agents/__init__.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/agentscope/agents/__init__.py b/src/agentscope/agents/__init__.py index 5e87355f7..84df208c2 100644 --- a/src/agentscope/agents/__init__.py +++ b/src/agentscope/agents/__init__.py @@ -1,10 +1,11 @@ # -*- coding: utf-8 -*- -""" Import all agent related modules in the package. """ +""" Import all agent-related modules in the package. """ from typing import Callable from .agent import AgentBase from .rpc_agent import RpcAgentBase from .dialog_agent import DialogAgent from .dict_dialog_agent import DictDialogAgent +from .user_agent import UserAgent # todo: convert Operator to a common base class for AgentBase and PipelineBase _Operator = Callable[..., dict] @@ -15,4 +16,5 @@ "RpcAgentBase", "DialogAgent", "DictDialogAgent", + "UserAgent", ]